1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00

Fix boolean warning

This commit is contained in:
Ted John
2017-05-06 21:33:23 +01:00
committed by Gymnasiast
parent fc19b57c09
commit 50197f04ed

View File

@@ -155,7 +155,7 @@ public:
bool HasFocus() override
{
uint32 windowFlags = GetWindowFlags();
return (windowFlags & SDL_WINDOW_INPUT_FOCUS);
return (windowFlags & SDL_WINDOW_INPUT_FOCUS) != 0;
}
bool IsMinimised() override