forked from mirror/openmw-tes3mp
Fix GUI regressions
This commit is contained in:
parent
a795aa7685
commit
433028e8d7
2 changed files with 2 additions and 1 deletions
|
@ -390,6 +390,7 @@ namespace MWGui
|
|||
{
|
||||
// No greetings found. The dialogue window should not be shown.
|
||||
// If this is a companion, we must show the companion window directly (used by BM_bear_be_unique).
|
||||
MWBase::Environment::get().getWindowManager()->removeGuiMode(MWGui::GM_Dialogue);
|
||||
if (isCompanion())
|
||||
MWBase::Environment::get().getWindowManager()->pushGuiMode(MWGui::GM_Companion, mPtr);
|
||||
return;
|
||||
|
|
|
@ -606,7 +606,7 @@ namespace MWGui
|
|||
mMap->setVisible(false);
|
||||
mStatsWindow->setVisible(false);
|
||||
mSpellWindow->setVisible(false);
|
||||
mInventoryWindow->setVisible(getMode() == GM_Container || getMode() == GM_Barter);
|
||||
mInventoryWindow->setVisible(getMode() == GM_Container || getMode() == GM_Barter || getMode() == GM_Companion);
|
||||
}
|
||||
|
||||
GuiMode mode = mGuiModes.back();
|
||||
|
|
Loading…
Reference in a new issue