1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-28 17:09:10 +00:00

Fix 8706c36f: Change RELEASE code, too.

This commit is contained in:
Michael Lutz
2021-02-22 22:48:51 +01:00
parent 7af1fd3ffb
commit 06ca147a82

View File

@@ -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;