mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 09:59:06 +00:00
Merge pull request #689 from jack9267/master
Call CWorld::Remove before the delete
This commit is contained in:
commit
48c5a2abed
1 changed files with 1 additions and 2 deletions
|
@ -117,8 +117,7 @@ CPopulation::Initialise()
|
|||
void
|
||||
CPopulation::RemovePed(CPed *ent)
|
||||
{
|
||||
// CPed dtor already does that
|
||||
// CWorld::Remove((CEntity*)ent);
|
||||
CWorld::Remove((CEntity*)ent);
|
||||
delete ent;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue