summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Vehicle.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/vehicles/Vehicle.cpp (renamed from src/entities/Vehicle.cpp)2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/Vehicle.cpp b/src/vehicles/Vehicle.cpp
index 25bede65..dccd9195 100644
--- a/src/entities/Vehicle.cpp
+++ b/src/vehicles/Vehicle.cpp
@@ -429,7 +429,7 @@ CVehicle::ProcessCarAlarm(void)
if(m_nAlarmState == 0 || m_nAlarmState == -1)
return;
- step = CTimer::GetTimeStep()/50.0f * 1000.0f;
+ step = CTimer::GetTimeStepInMilliseconds();
if((uint16)m_nAlarmState < step)
m_nAlarmState = 0;
else