diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-02-16 03:15:58 +0100 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-02-17 13:57:50 +0100 |
commit | ff92b822b673e77c9fa9af6ecbab5745a6ff01d8 (patch) | |
tree | 757d2859d10e97cd59474decd744405ba7af37fd /src/core | |
parent | Merge pull request #326 from erorcun/erorcun (diff) | |
download | re3-ff92b822b673e77c9fa9af6ecbab5745a6ff01d8.tar re3-ff92b822b673e77c9fa9af6ecbab5745a6ff01d8.tar.gz re3-ff92b822b673e77c9fa9af6ecbab5745a6ff01d8.tar.bz2 re3-ff92b822b673e77c9fa9af6ecbab5745a6ff01d8.tar.lz re3-ff92b822b673e77c9fa9af6ecbab5745a6ff01d8.tar.xz re3-ff92b822b673e77c9fa9af6ecbab5745a6ff01d8.tar.zst re3-ff92b822b673e77c9fa9af6ecbab5745a6ff01d8.zip |
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 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, |