mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-27 03:24:15 +01:00
Merge pull request #689 from jack9267/master
Call CWorld::Remove before the delete
This commit is contained in:
commit
48c5a2abed
@ -117,8 +117,7 @@ CPopulation::Initialise()
|
|||||||
void
|
void
|
||||||
CPopulation::RemovePed(CPed *ent)
|
CPopulation::RemovePed(CPed *ent)
|
||||||
{
|
{
|
||||||
// CPed dtor already does that
|
CWorld::Remove((CEntity*)ent);
|
||||||
// CWorld::Remove((CEntity*)ent);
|
|
||||||
delete ent;
|
delete ent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user