[saco] Match CVehiclePool::FUNC_1001E9B0; it rescans field_3074 for the highest live slot into field_0

This commit is contained in:
ricardoofnl
2026-09-03 00:26:26 +07:00
parent f0e80175eb
commit 7b2acc2d2b
2 changed files with 13 additions and 0 deletions
+11
View File
@@ -27,3 +27,14 @@ int CVehiclePool::FindGtaIDFromID(int VehicleID)
}
//----------------------------------------------------
void CVehiclePool::FUNC_1001E9B0()
{
int iHighest = 0;
for(int i = 0; i < MAX_VEHICLES; i++) {
if(field_3074[i]) iHighest = i;
}
field_0 = iHighest;
}
//----------------------------------------------------
+2
View File
@@ -32,6 +32,8 @@ public:
return 0;
}
void FUNC_1001E9B0(); // .text:1001E9B0
short FUNC_1001EB90(int a1); // .text:1001EB90
int FindGtaIDFromID(int VehicleID); // .text:1001EBC0