CPopulation 1

This commit is contained in:
eray orçunus
2020-02-16 05:15:58 +03:00
parent 04eac2a06c
commit ff92b822b6
14 changed files with 442 additions and 112 deletions

View File

@ -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;

View File

@ -93,6 +93,8 @@ enum Config {
NUMPEDROUTES = 200,
NUMPHONES = 50,
NUMPEDGROUPS = 31,
NUMMODELSPERPEDGROUP = 8,
NUMVISIBLEENTITIES = 2000,
NUMINVISIBLEENTITIES = 150,