1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-06-17 22:03:12 +00:00

Merge pull request #689 from jack9267/master

Call CWorld::Remove before the delete
This commit is contained in:
Nikolay Korolev 2020-08-18 18:06:04 +03:00 committed by GitHub
commit 48c5a2abed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}