refactor: deglob std::weak_ptr

This commit is contained in:
Tropical
2026-03-06 20:38:50 -06:00
committed by JuiceyDev
parent 6e56e07c6b
commit a744f8f471
70 changed files with 125 additions and 125 deletions

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;
}