summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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()) {}