summaryrefslogtreecommitdiff
path: root/src/core/World.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-02-16 05:15:58 +0300
committereray orçunus <erayorcunus@gmail.com>2020-02-17 15:57:50 +0300
commitff92b822b673e77c9fa9af6ecbab5745a6ff01d8 (patch)
tree757d2859d10e97cd59474decd744405ba7af37fd /src/core/World.cpp
parent04eac2a06cd2e9d7f042a051c3755625b2ea01ae (diff)
CPopulation 1
Diffstat (limited to 'src/core/World.cpp')
-rw-r--r--src/core/World.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/World.cpp b/src/core/World.cpp
index c914b647..9c1678e1 100644
--- a/src/core/World.cpp
+++ b/src/core/World.cpp
@@ -949,7 +949,7 @@ CWorld::RemoveEntityInsteadOfProcessingIt(CEntity* ent)
if (FindPlayerPed() == ent)
Remove(ent);
else
- CPopulation::RemovePed(ent);
+ CPopulation::RemovePed((CPed*)ent);
} else {
Remove(ent);
delete ent;