From 869bc4d0845eda8afbaffc6ed994547f1730b727 Mon Sep 17 00:00:00 2001 From: Jan Borsodi Date: Wed, 15 Sep 2010 13:16:54 +0200 Subject: [PATCH] Silence the compiler. --- apps/openmw/mwgui/window_manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/openmw/mwgui/window_manager.cpp b/apps/openmw/mwgui/window_manager.cpp index 7ee0b46c01..d2c2db218b 100644 --- a/apps/openmw/mwgui/window_manager.cpp +++ b/apps/openmw/mwgui/window_manager.cpp @@ -128,8 +128,8 @@ void WindowManager::updateVisible() int eff = shown & allowed; // Show the windows we want - map -> setVisible( eff & GW_Map ); - stats -> setVisible( eff & GW_Stats ); + map -> setVisible( (eff & GW_Map) != 0 ); + stats -> setVisible( (eff & GW_Stats) != 0 ); #if 0 // inventory -> setVisible( eff & GW_Inventory ); #endif