mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 15:41:13 -04:00
[Client] Fix actor memory leaks, part 2
This commit is contained in:
parent
9b58973929
commit
f59609fcd7
@ -250,6 +250,7 @@ void Cell::readCellChange(ActorList& actorList)
|
||||
if (Main::get().getCellController()->isInitializedCell(actor->cell))
|
||||
Main::get().getCellController()->getCell(actor->cell)->initializeDedicatedActor(actor->getPtr());
|
||||
|
||||
delete actor;
|
||||
dedicatedActors.erase(mapIndex);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user