diff --git a/src/video/cocoa_v.m b/src/video/cocoa_v.m index 79551c8653..33f0b78e4c 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()) {}