mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 16:30:01 +00:00
fixed SET_BOAT_CRUISE_SPEED
This commit is contained in:
parent
bedf19c523
commit
b0e4f40f44
|
@ -5826,7 +5826,7 @@ int8 CRunningScript::ProcessCommands700To799(int32 command)
|
||||||
assert(pVehicle);
|
assert(pVehicle);
|
||||||
assert(pVehicle->m_vehType == VEHICLE_TYPE_BOAT);
|
assert(pVehicle->m_vehType == VEHICLE_TYPE_BOAT);
|
||||||
CBoat* pBoat = (CBoat*)pVehicle;
|
CBoat* pBoat = (CBoat*)pVehicle;
|
||||||
pBoat->AutoPilot.m_nCruiseSpeed = ScriptParams[1];
|
pBoat->AutoPilot.m_nCruiseSpeed = *(float*)&ScriptParams[1];
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
case COMMAND_GET_RANDOM_CHAR_IN_AREA:
|
case COMMAND_GET_RANDOM_CHAR_IN_AREA:
|
||||||
|
|
Loading…
Reference in a new issue