mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-06 03:54:09 +00:00
renamed some variables and added files; more CAutomobile::ProcessControl
This commit is contained in:
parent
3bda0da403
commit
0f1fbf5e9a
20 changed files with 217 additions and 49 deletions
|
@ -2050,7 +2050,7 @@ int8 CRunningScript::ProcessCommandsFrom100To199(int32 command)
|
|||
CollectParameters(&m_nIp, 2);
|
||||
CVehicle* car = CPools::GetVehiclePool()->GetAt(ScriptParams[0]);
|
||||
assert(car);
|
||||
car->AutoPilot.m_nCruiseSpeed = min(*(float*)&ScriptParams[1], 60.0f * car->m_handling->TransmissionData.fUnkMaxVelocity);
|
||||
car->AutoPilot.m_nCruiseSpeed = min(*(float*)&ScriptParams[1], 60.0f * car->pHandling->Transmission.fUnkMaxVelocity);
|
||||
return 0;
|
||||
}
|
||||
case COMMAND_SET_CAR_DRIVING_STYLE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue