mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 12:06:07 +08:00
Modified SDK for GCC 4.1
This commit is contained in:
@ -741,7 +741,7 @@ bool CFourWheelVehiclePhysics::Think()
|
||||
m_nLastSpeed = m_nSpeed;
|
||||
m_nSpeed = ( int )carSpeed;
|
||||
m_nRPM = ( int )carState.engineRPM;
|
||||
m_nHasBoost = vehicleData.engine.boostDelay; // if we have any boost delay, vehicle has boost ability
|
||||
m_nHasBoost = static_cast<int>(vehicleData.engine.boostDelay); // if we have any boost delay, vehicle has boost ability
|
||||
|
||||
m_pVehicle->Update( gpGlobals->frametime, m_controls);
|
||||
|
||||
|
Reference in New Issue
Block a user