mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-30 13:04:15 +01:00
better fix
This commit is contained in:
parent
b3f97cdce4
commit
bfe382c315
@ -2858,9 +2858,11 @@ void CCarCtrl::SteerAICarWithPhysicsFollowPath(CVehicle* pVehicle, float* pSwerv
|
|||||||
case DRIVINGSTYLE_STOP_FOR_CARS_IGNORE_LIGHTS:
|
case DRIVINGSTYLE_STOP_FOR_CARS_IGNORE_LIGHTS:
|
||||||
speedStyleMultiplier = FindMaximumSpeedForThisCarInTraffic(pVehicle);
|
speedStyleMultiplier = FindMaximumSpeedForThisCarInTraffic(pVehicle);
|
||||||
#ifdef FIX_BUGS
|
#ifdef FIX_BUGS
|
||||||
if (pVehicle->AutoPilot.m_nCruiseSpeed != 0)
|
if (pVehicle->AutoPilot.GetCruiseSpeed() != 0)
|
||||||
#endif
|
speedStyleMultiplier /= pVehicle->AutoPilot.GetCruiseSpeed();
|
||||||
|
#else
|
||||||
speedStyleMultiplier /= pVehicle->AutoPilot.m_nCruiseSpeed;
|
speedStyleMultiplier /= pVehicle->AutoPilot.m_nCruiseSpeed;
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
speedStyleMultiplier = 1.0f;
|
speedStyleMultiplier = 1.0f;
|
||||||
|
Loading…
Reference in New Issue
Block a user