diff options
Diffstat (limited to 'engines/hugo/schedule.cpp')
-rw-r--r-- | engines/hugo/schedule.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hugo/schedule.cpp b/engines/hugo/schedule.cpp index eca9a2050e..6ea7bfd273 100644 --- a/engines/hugo/schedule.cpp +++ b/engines/hugo/schedule.cpp @@ -134,9 +134,9 @@ uint32 Scheduler::getDosTicks(bool updateFl) { return(tick); if (t_old == 0) - t_old = (uint32) floor((double) (g_system->getMillis() * TPS / 1000)); + t_old = (uint32) floor((double) (g_system->getMillis() * _vm->getTPS() / 1000)); /* Calculate current wall time in ticks */ - t_now = g_system->getMillis() * TPS / 1000 ; + t_now = g_system->getMillis() * _vm->getTPS() / 1000 ; if ((t_now - t_old) > 0) { t_old = t_now; |