mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-08 05:44:08 +00:00
Some CPool and CPools funcs, restoring original logic of pool lookup loops
This commit is contained in:
parent
2c81844c20
commit
5b1ffb0912
13 changed files with 147 additions and 51 deletions
|
@ -123,8 +123,7 @@ void CBridge::FindBridgeEntities()
|
|||
pLiftRoad = nil;
|
||||
pLiftPart = nil;
|
||||
|
||||
for (int i = 1; i < CPools::GetBuildingPool()->GetSize(); ++i)
|
||||
{
|
||||
for (int i = CPools::GetBuildingPool()->GetSize()-1; i >= 0; i--) {
|
||||
CBuilding* entry = CPools::GetBuildingPool()->GetSlot(i);
|
||||
if (entry)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue