diff options
Diffstat (limited to 'src/video/allegro_v.cpp')
-rw-r--r-- | src/video/allegro_v.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video/allegro_v.cpp b/src/video/allegro_v.cpp index c4a8341c9..bcec85333 100644 --- a/src/video/allegro_v.cpp +++ b/src/video/allegro_v.cpp @@ -474,7 +474,7 @@ void VideoDriver_Allegro::MainLoop() { uint32 cur_ticks = GetTime(); uint32 last_cur_ticks = cur_ticks; - uint32 next_tick = cur_ticks + 30; + uint32 next_tick = cur_ticks + MILLISECONDS_PER_TICK; uint32 pal_tick = 0; for (;;) { @@ -501,7 +501,7 @@ void VideoDriver_Allegro::MainLoop() if (cur_ticks >= next_tick || (_fast_forward && !_pause_mode) || cur_ticks < prev_cur_ticks) { _realtime_tick += cur_ticks - last_cur_ticks; last_cur_ticks = cur_ticks; - next_tick = cur_ticks + 30; + next_tick = cur_ticks + MILLISECONDS_PER_TICK; bool old_ctrl_pressed = _ctrl_pressed; |