mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 17:19:00 +00:00
review fix
This commit is contained in:
parent
3b0cd93f89
commit
1c592c26f9
1 changed files with 2 additions and 2 deletions
|
@ -183,7 +183,7 @@ INITSAVEBUF
|
||||||
if (!pVehicle)
|
if (!pVehicle)
|
||||||
continue;
|
continue;
|
||||||
bool bHasPassenger = false;
|
bool bHasPassenger = false;
|
||||||
for (int j = 0; j < 8; j++) {
|
for (int j = 0; j < ARRAY_SIZE(pVehicle->pPassengers); j++) {
|
||||||
if (pVehicle->pPassengers[i])
|
if (pVehicle->pPassengers[i])
|
||||||
bHasPassenger = true;
|
bHasPassenger = true;
|
||||||
}
|
}
|
||||||
|
@ -203,7 +203,7 @@ INITSAVEBUF
|
||||||
if (!pVehicle)
|
if (!pVehicle)
|
||||||
continue;
|
continue;
|
||||||
bool bHasPassenger = false;
|
bool bHasPassenger = false;
|
||||||
for (int j = 0; j < 8; j++) {
|
for (int j = 0; j < ARRAY_SIZE(pVehicle->pPassengers); j++) {
|
||||||
if (pVehicle->pPassengers[j])
|
if (pVehicle->pPassengers[j])
|
||||||
bHasPassenger = true;
|
bHasPassenger = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue