mirror of
https://github.com/halpz/re3.git
synced 2025-07-31 19:50:24 +00:00
Some CPool and CPools funcs, restoring original logic of pool lookup loops
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user