refactor: deglob std::weak_ptr

This commit is contained in:
Tropical authored and JuiceyDev committed 2026-03-08 22:43:59 +01:00
1 parent 6e56e07c6b
commit a744f8f471
70 files changed
+125 -125

No files matched your search

+2 -2
View File
@@ -29,7 +29,7 @@ bool Sensing::canSee(std::shared_ptr<Entity> target)
//util.Timer.push("canSee");
bool canSee = mob->canSee(target);
//util.Timer.pop();
if (canSee) seen.push_back(weak_ptr<Entity>(target));
else unseen.push_back(weak_ptr<Entity>(target));
if (canSee) seen.push_back(std::<Entity>(target));
else unseen.push_back(std::<Entity>(target));
return canSee;
}