This commit is contained in:
Nikolay Korolev 2020-02-22 15:36:22 +03:00
commit a312e1ff81
19 changed files with 848 additions and 165 deletions

View file

@ -952,7 +952,7 @@ CWorld::RemoveEntityInsteadOfProcessingIt(CEntity* ent)
if (FindPlayerPed() == ent)
Remove(ent);
else
CPopulation::RemovePed(ent);
CPopulation::RemovePed((CPed*)ent);
} else {
Remove(ent);
delete ent;