1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2024-12-25 18:05:27 +00:00

review fix

This commit is contained in:
Nikolay Korolev 2020-04-13 21:57:13 +03:00
parent 3b0cd93f89
commit 1c592c26f9

View file

@ -183,7 +183,7 @@ INITSAVEBUF
if (!pVehicle)
continue;
bool bHasPassenger = false;
for (int j = 0; j < 8; j++) {
for (int j = 0; j < ARRAY_SIZE(pVehicle->pPassengers); j++) {
if (pVehicle->pPassengers[i])
bHasPassenger = true;
}
@ -203,7 +203,7 @@ INITSAVEBUF
if (!pVehicle)
continue;
bool bHasPassenger = false;
for (int j = 0; j < 8; j++) {
for (int j = 0; j < ARRAY_SIZE(pVehicle->pPassengers); j++) {
if (pVehicle->pPassengers[j])
bHasPassenger = true;
}