summaryrefslogtreecommitdiffstats
path: root/src/core/World.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-02-22 13:36:22 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-02-22 13:36:22 +0100
commita312e1ff81df0f00f528f237d4014bd5b24dae12 (patch)
tree910dc04b4158a47cdd3b8f6512db84a17cd010f9 /src/core/World.cpp
parentfixes (diff)
parentMerge pull request #329 from erorcun/erorcun (diff)
downloadre3-a312e1ff81df0f00f528f237d4014bd5b24dae12.tar
re3-a312e1ff81df0f00f528f237d4014bd5b24dae12.tar.gz
re3-a312e1ff81df0f00f528f237d4014bd5b24dae12.tar.bz2
re3-a312e1ff81df0f00f528f237d4014bd5b24dae12.tar.lz
re3-a312e1ff81df0f00f528f237d4014bd5b24dae12.tar.xz
re3-a312e1ff81df0f00f528f237d4014bd5b24dae12.tar.zst
re3-a312e1ff81df0f00f528f237d4014bd5b24dae12.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 c6236f42..f97f0ebf 100644
--- a/src/core/World.cpp
+++ b/src/core/World.cpp
@@ -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;