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:
parent
cad3eb8968
commit
377aa9b6c9
1 changed files with 2 additions and 0 deletions
|
@ -151,6 +151,8 @@ void Cell::removeActors(const mwmp::BaseActorList *newActorList)
|
|||
if (!foundActor)
|
||||
it++;
|
||||
}
|
||||
|
||||
cellActorList.count = cellActorList.baseActors.size();
|
||||
}
|
||||
|
||||
mwmp::BaseActorList *Cell::getActorList()
|
||||
|
|
Loading…
Reference in a new issue