summaryrefslogtreecommitdiffstats
path: root/src/core/World.cpp
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-02-17 21:02:58 +0100
committerGitHub <noreply@github.com>2020-02-17 21:02:58 +0100
commit16ea0527dda06b8f844a23b29d3e9615cf9d85da (patch)
tree504304d257e44fd379c01600d35841573ed368b4 /src/core/World.cpp
parentMerge pull request #327 from Nick007J/master (diff)
parentCPopulation 1 (diff)
downloadre3-16ea0527dda06b8f844a23b29d3e9615cf9d85da.tar
re3-16ea0527dda06b8f844a23b29d3e9615cf9d85da.tar.gz
re3-16ea0527dda06b8f844a23b29d3e9615cf9d85da.tar.bz2
re3-16ea0527dda06b8f844a23b29d3e9615cf9d85da.tar.lz
re3-16ea0527dda06b8f844a23b29d3e9615cf9d85da.tar.xz
re3-16ea0527dda06b8f844a23b29d3e9615cf9d85da.tar.zst
re3-16ea0527dda06b8f844a23b29d3e9615cf9d85da.zip
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 70e526e8..1b7a6649 100644
--- a/src/core/World.cpp
+++ b/src/core/World.cpp
@@ -951,7 +951,7 @@ CWorld::RemoveEntityInsteadOfProcessingIt(CEntity* ent)
if (FindPlayerPed() == ent)
Remove(ent);
else
- CPopulation::RemovePed(ent);
+ CPopulation::RemovePed((CPed*)ent);
} else {
Remove(ent);
delete ent;