1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 22:23:51 +00:00

[Server] Refresh cellActorList's count after removing Actors from it

This commit is contained in:
David Cernat 2017-05-02 03:39:00 +03:00
parent cad3eb8968
commit 377aa9b6c9

View file

@ -151,6 +151,8 @@ void Cell::removeActors(const mwmp::BaseActorList *newActorList)
if (!foundActor)
it++;
}
cellActorList.count = cellActorList.baseActors.size();
}
mwmp::BaseActorList *Cell::getActorList()