summaryrefslogtreecommitdiff
path: root/src/video/win32_v.cpp
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-02-22 22:48:51 +0100
committerMichael Lutz <michi@icosahedron.de>2021-02-22 23:16:46 +0100
commit06ca147a8274a8d9434e9d59b76dbe502be74fb9 (patch)
treeb028b3400a99d7e749355405fd675cf955828318 /src/video/win32_v.cpp
parent7af1fd3ffbe37c231c53b0d4f667e65e0a7a1d01 (diff)
downloadopenttd-06ca147a8274a8d9434e9d59b76dbe502be74fb9.tar.xz
Fix 8706c36f: Change RELEASE code, too.
Diffstat (limited to 'src/video/win32_v.cpp')
-rw-r--r--src/video/win32_v.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp
index a9342d5f4..d32bcb222 100644
--- a/src/video/win32_v.cpp
+++ b/src/video/win32_v.cpp
@@ -885,7 +885,7 @@ void VideoDriver_Win32Base::InputLoop()
#else
/* Speedup when pressing tab, except when using ALT+TAB
* to switch to another application. */
- if (_wnd.has_focus && GetAsyncKeyState(VK_TAB) < 0 && GetAsyncKeyState(VK_MENU) >= 0)
+ if (this->has_focus && GetAsyncKeyState(VK_TAB) < 0 && GetAsyncKeyState(VK_MENU) >= 0)
#endif
{
if (!_networking && _game_mode != GM_MENU) _fast_forward |= 2;