forked from mirror/openmw-tes3mp
[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)
|
if (!foundActor)
|
||||||
it++;
|
it++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cellActorList.count = cellActorList.baseActors.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
mwmp::BaseActorList *Cell::getActorList()
|
mwmp::BaseActorList *Cell::getActorList()
|
||||||
|
|
Loading…
Reference in a new issue