diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/World.cpp | 2 | ||||
-rw-r--r-- | src/core/config.h | 2 |
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, |