diff options
Diffstat (limited to 'common/timer.cpp')
-rw-r--r-- | common/timer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/timer.cpp b/common/timer.cpp index 1cb4dda6c6..568a27a673 100644 --- a/common/timer.cpp +++ b/common/timer.cpp @@ -48,7 +48,7 @@ int Timer::handler(int * t) { if (_timerRunning) { _lastTime = _thisTime; _thisTime = _engine->_system->get_msecs(); - interval = _thisTime - _lastTime; + interval = 1000 * (_thisTime - _lastTime); for (l = 0; l < MAX_TIMERS; l++) { if ((_timerSlots[l].procedure) && (_timerSlots[l].interval > 0)) { |