diff options
Diffstat (limited to 'src/video/cocoa_v.mm')
-rw-r--r-- | src/video/cocoa_v.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video/cocoa_v.mm b/src/video/cocoa_v.mm index 8e13605d8..1481bc606 100644 --- a/src/video/cocoa_v.mm +++ b/src/video/cocoa_v.mm @@ -732,9 +732,9 @@ static void QZ_GameLoop() } cur_ticks = GetTick(); - _realtime_tick += cur_ticks - last_cur_ticks; - last_cur_ticks = cur_ticks; if (cur_ticks >= next_tick || (_fast_forward && !_pause_game) || cur_ticks < prev_cur_ticks) { + _realtime_tick += cur_ticks - last_cur_ticks; + last_cur_ticks = cur_ticks; next_tick = cur_ticks + 30; _ctrl_pressed = !!(_cocoa_video_data.current_mods & NSControlKeyMask); |