mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-09 00:50:35 +00:00
Merge remote-tracking branch 'origin/master' into miami
# Conflicts: # src/control/RoadBlocks.cpp # src/core/Collision.h # src/core/Pad.cpp # src/core/SurfaceTable.h # src/core/main.cpp # src/core/re3.cpp # src/peds/Population.cpp # src/render/Fluff.cpp # src/render/Shadows.cpp # src/render/Shadows.h # src/render/Sprite2d.cpp # src/weapons/BulletInfo.cpp
This commit is contained in:
commit
7d8ffa9ebd
34 changed files with 3423 additions and 306 deletions
|
@ -1004,7 +1004,11 @@ CPopulation::ManagePopulation(void)
|
|||
}
|
||||
|
||||
int pedPoolSize = CPools::GetPedPool()->GetSize();
|
||||
#ifndef SQUEEZE_PERFORMANCE
|
||||
for (int poolIndex = pedPoolSize-1; poolIndex >= 0; poolIndex--) {
|
||||
#else
|
||||
for (int poolIndex = (pedPoolSize * (frameMod32 + 1) / 32) - 1; poolIndex >= pedPoolSize * frameMod32 / 32; poolIndex--) {
|
||||
#endif
|
||||
CPed *ped = CPools::GetPedPool()->GetSlot(poolIndex);
|
||||
|
||||
if (ped && !ped->IsPlayer() && ped->CanBeDeleted() && !ped->bInVehicle) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue