summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/core/World.cpp2
-rw-r--r--src/core/config.h2
2 files changed, 3 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;
diff --git a/src/core/config.h b/src/core/config.h
index de96ad1b..0ff1809c 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -93,6 +93,8 @@ enum Config {
NUMPEDROUTES = 200,
NUMPHONES = 50,
+ NUMPEDGROUPS = 31,
+ NUMMODELSPERPEDGROUP = 8,
NUMVISIBLEENTITIES = 2000,
NUMINVISIBLEENTITIES = 150,