Merge pull request #328 from erorcun/erorcun

CPopulation 1
This commit is contained in:
erorcun authored and GitHub committed 2020-02-17 23:02:58 +03:00
commit 16ea0527dd
14 files changed
+442 -112

No files matched your search

+1 -1
View File
@@ -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;
+2
View File
@@ -93,6 +93,8 @@ enum Config {
NUMPEDROUTES = 200,
NUMPHONES = 50,
NUMPEDGROUPS = 31,
NUMMODELSPERPEDGROUP = 8,
NUMVISIBLEENTITIES = 2000,
NUMINVISIBLEENTITIES = 150,