Do not allow to use journal in a main menu (bug #3991)

experimental
Andrei Kortunov 8 years ago
parent a78f254883
commit 23bda7613b

@ -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…
Cancel
Save