diff options
Diffstat (limited to 'src/video/win32_v.cpp')
-rw-r--r-- | src/video/win32_v.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp index e758f38e7..f3ae911b7 100644 --- a/src/video/win32_v.cpp +++ b/src/video/win32_v.cpp @@ -1165,8 +1165,9 @@ void VideoDriver_Win32::MainLoop() CheckPaletteAnim(); for (;;) { + InteractiveRandom(); // randomness + while (PeekMessage(&mesg, nullptr, 0, 0, PM_REMOVE)) { - InteractiveRandom(); // randomness /* Convert key messages to char messages if we want text input. */ if (EditBoxInGlobalFocus()) TranslateMessage(&mesg); DispatchMessage(&mesg); |