Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Merge pull request #689 from jack9267/master
Call CWorld::Remove before the delete
  • Loading branch information
Nick007J committed Aug 18, 2020
2 parents c638876 + 2dcf31b commit 48c5a2abeddd9523b8545c5494cb92be6dffcd18
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/peds/Population.cpp
@@ -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;
} }


0 comments on commit 48c5a2a

Please sign in to comment.