mirror of
https://github.com/edubart/otclient.git
synced 2025-11-03 12:16:23 +01:00
fix dumbfounding issue on win32 that caused HUGE lags
This commit is contained in:
@@ -406,7 +406,7 @@ void WIN32Window::poll()
|
||||
fireKeysPress();
|
||||
|
||||
MSG msg;
|
||||
if(PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) {
|
||||
while(PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) {
|
||||
TranslateMessage(&msg);
|
||||
DispatchMessage(&msg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user