summaryrefslogtreecommitdiff
path: root/src/video/cocoa_v.m
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-01-10 20:11:13 +0000
committerrubidium <rubidium@openttd.org>2007-01-10 20:11:13 +0000
commitc5a7eaca6585befc5b30e8974dcf8d2a281820e5 (patch)
tree8745e0d4244810cc7ef5bb6f62d3bc60216c6f17 /src/video/cocoa_v.m
parent6b58c1c2ffffb2fed4bbbdb9642fb2ccaab629ec (diff)
downloadopenttd-c5a7eaca6585befc5b30e8974dcf8d2a281820e5.tar.xz
(svn r8043) -Fix (8028): forgot setting a variable.
Diffstat (limited to 'src/video/cocoa_v.m')
-rw-r--r--src/video/cocoa_v.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/cocoa_v.m b/src/video/cocoa_v.m
index 79551c865..33f0b78e4 100644
--- a/src/video/cocoa_v.m
+++ b/src/video/cocoa_v.m
@@ -674,7 +674,7 @@ static void QZ_GameLoop(void)
CSleep(1);
for (;;) {
- uint32 prev_cur_ticks; // to check for wrapping
+ uint32 prev_cur_ticks = cur_ticks; // to check for wrapping
InteractiveRandom(); // randomness
while (QZ_PollEvent()) {}