Добавил возможность выбирать контейнер для GetActorsByClass
This commit is contained in:
@@ -61,7 +61,7 @@ void World::load(std::shared_ptr<SaveMap> save)
|
||||
void World::DestroyActor(std::weak_ptr<Actor> ptr)
|
||||
{
|
||||
std::shared_ptr<Actor> actor = ptr.lock();
|
||||
if (actor.get() == nullptr)
|
||||
if (actor == nullptr)
|
||||
return;
|
||||
|
||||
std::string name = actor->GetName();
|
||||
|
||||
Reference in New Issue
Block a user