mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-19 16:21:08 +00:00
Merge pull request #1371 from akortunov/journalfix
Do not allow to use journal in a main menu
This commit is contained in:
commit
fe8437ae10
@ -1022,6 +1022,7 @@ namespace MWInput
|
||||
return;
|
||||
|
||||
if(MWBase::Environment::get().getWindowManager()->getMode() != MWGui::GM_Journal
|
||||
&& MWBase::Environment::get().getWindowManager()->getMode() != MWGui::GM_MainMenu
|
||||
&& MWBase::Environment::get().getWindowManager ()->getJournalAllowed())
|
||||
{
|
||||
MWBase::Environment::get().getWindowManager()->playSound ("book open");
|
||||
|
Loading…
x
Reference in New Issue
Block a user