summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2007-03-06 22:01:59 +0000
committerbjarni <bjarni@openttd.org>2007-03-06 22:01:59 +0000
commita24913d4613ee15aadb7cb39ec0924d4120fa0f8 (patch)
tree0405b5e5e4ab778c6a8dd9bfefe0ad9208821466
parenta2b5b74b83e213f1e32e8f2cafe40f3527f018a5 (diff)
downloadopenttd-a24913d4613ee15aadb7cb39ec0924d4120fa0f8.tar.xz
(svn r9039) -Fix r9034: missed the _pause in cocoa_v.mm
-rw-r--r--src/video/cocoa_v.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/cocoa_v.mm b/src/video/cocoa_v.mm
index e6fa9d8d3..450de9469 100644
--- a/src/video/cocoa_v.mm
+++ b/src/video/cocoa_v.mm
@@ -712,7 +712,7 @@ static void QZ_GameLoop(void)
}
cur_ticks = GetTick();
- if (cur_ticks >= next_tick || (_fast_forward && !_pause) || cur_ticks < prev_cur_ticks) {
+ if (cur_ticks >= next_tick || (_fast_forward && !_pause_game) || cur_ticks < prev_cur_ticks) {
next_tick = cur_ticks + 30;
_ctrl_pressed = !!(_cocoa_video_data.current_mods & NSControlKeyMask);