summaryrefslogtreecommitdiffstats
path: root/src/core
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
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')
-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 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;
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,