mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-19 22:53:53 +00:00
Remove redundant GUI element showing during loading screens
This commit is contained in:
parent
e69cf11029
commit
03da21f088
1 changed files with 3 additions and 9 deletions
|
@ -588,16 +588,10 @@ namespace MWGui
|
|||
mJournal->setVisible(true);
|
||||
break;
|
||||
case GM_LoadingWallpaper:
|
||||
mHud->setVisible(false);
|
||||
mToolTips->setVisible(false);
|
||||
setCursorVisible(false);
|
||||
break;
|
||||
case GM_Loading:
|
||||
// Show the pinned windows
|
||||
mMap->setVisible(mMap->pinned() && !(mForceHidden & GW_Map));
|
||||
mStatsWindow->setVisible(mStatsWindow->pinned() && !(mForceHidden & GW_Stats));
|
||||
mInventoryWindow->setVisible(mInventoryWindow->pinned() && !(mForceHidden & GW_Inventory));
|
||||
mSpellWindow->setVisible(mSpellWindow->pinned() && !(mForceHidden & GW_Magic));
|
||||
// Don't need to show anything here - GM_LoadingWallpaper covers everything else anyway,
|
||||
// GM_Loading uses a texture of the last rendered frame so everything previously visible will be rendered.
|
||||
mHud->setVisible(false);
|
||||
mToolTips->setVisible(false);
|
||||
setCursorVisible(false);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue