mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 06:39:49 +00:00
Right mouse button click now stops Container GuiMode.
This commit is contained in:
parent
f19fbaa293
commit
bba024d6ad
@ -579,10 +579,14 @@ namespace MWInput
|
||||
// Toggle between game mode and inventory mode
|
||||
if(gameMode)
|
||||
mWindows.pushGuiMode(MWGui::GM_Inventory);
|
||||
else if(mWindows.getMode() == MWGui::GM_Inventory)
|
||||
mWindows.popGuiMode();
|
||||
else
|
||||
{
|
||||
MWGui::GuiMode mode = mWindows.getMode();
|
||||
if(mode == MWGui::GM_Inventory || mode == MWGui::GM_Container)
|
||||
mWindows.popGuiMode();
|
||||
}
|
||||
|
||||
// .. but don't touch any other mode.
|
||||
// .. but don't touch any other mode, except container.
|
||||
}
|
||||
|
||||
void InputManager::toggleConsole()
|
||||
|
Loading…
Reference in New Issue
Block a user