mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-26 12:23:44 +00:00
fix
This commit is contained in:
parent
fa2eb24ba2
commit
3f8e258055
1 changed files with 1 additions and 1 deletions
|
@ -632,7 +632,7 @@ int8 CRunningScript::ProcessCommands1000To1099(int32 command)
|
||||||
if (GET_INTEGER_PARAM(2) < 0)
|
if (GET_INTEGER_PARAM(2) < 0)
|
||||||
pPed->WarpPedIntoCarAsPassenger(pVehicle, GET_INTEGER_PARAM(2));
|
pPed->WarpPedIntoCarAsPassenger(pVehicle, GET_INTEGER_PARAM(2));
|
||||||
else {
|
else {
|
||||||
script_assert(GET_INTEGER_PARAM(1) >= 0 && GET_INTEGER_PARAM(1) < ARRAY_SIZE(pVehicle->pPassengers));
|
script_assert(GET_INTEGER_PARAM(2) >= 0 && GET_INTEGER_PARAM(2) < ARRAY_SIZE(pVehicle->pPassengers));
|
||||||
pPed->WarpPedIntoCarAsPassenger(pVehicle, GET_INTEGER_PARAM(2));
|
pPed->WarpPedIntoCarAsPassenger(pVehicle, GET_INTEGER_PARAM(2));
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue