1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 21:53:51 +00:00

Remove redundant GUI element showing during loading screens

This commit is contained in:
scrawl 2014-12-12 02:12:49 +01:00
parent e69cf11029
commit 03da21f088

View file

@ -588,16 +588,10 @@ namespace MWGui
mJournal->setVisible(true); mJournal->setVisible(true);
break; break;
case GM_LoadingWallpaper: case GM_LoadingWallpaper:
mHud->setVisible(false);
mToolTips->setVisible(false);
setCursorVisible(false);
break;
case GM_Loading: case GM_Loading:
// Show the pinned windows // Don't need to show anything here - GM_LoadingWallpaper covers everything else anyway,
mMap->setVisible(mMap->pinned() && !(mForceHidden & GW_Map)); // GM_Loading uses a texture of the last rendered frame so everything previously visible will be rendered.
mStatsWindow->setVisible(mStatsWindow->pinned() && !(mForceHidden & GW_Stats)); mHud->setVisible(false);
mInventoryWindow->setVisible(mInventoryWindow->pinned() && !(mForceHidden & GW_Inventory));
mSpellWindow->setVisible(mSpellWindow->pinned() && !(mForceHidden & GW_Magic));
mToolTips->setVisible(false); mToolTips->setVisible(false);
setCursorVisible(false); setCursorVisible(false);
break; break;