mirror of
https://github.com/GTAmodding/re3.git
synced 2025-08-27 16:00:05 +02:00
fix
This commit is contained in:
@@ -632,7 +632,7 @@ int8 CRunningScript::ProcessCommands1000To1099(int32 command)
|
||||
if (GET_INTEGER_PARAM(2) < 0)
|
||||
pPed->WarpPedIntoCarAsPassenger(pVehicle, GET_INTEGER_PARAM(2));
|
||||
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));
|
||||
}
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user