mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:53:50 +00:00
Merge pull request #1963 from Capostrophic/journal
Disallow to open the journal while settings window is open (bug #4674)
This commit is contained in:
commit
c45ec9171b
2 changed files with 2 additions and 0 deletions
|
@ -138,6 +138,7 @@
|
||||||
Bug #4669: ToggleCollision should trace the player down after collision being enabled
|
Bug #4669: ToggleCollision should trace the player down after collision being enabled
|
||||||
Bug #4671: knownEffect functions should use modified Alchemy skill
|
Bug #4671: knownEffect functions should use modified Alchemy skill
|
||||||
Bug #4672: Pitch factor is handled incorrectly for crossbow animations
|
Bug #4672: Pitch factor is handled incorrectly for crossbow animations
|
||||||
|
Bug #4674: Journal can be opened when settings window is open
|
||||||
Feature #912: Editor: Add missing icons to UniversalId tables
|
Feature #912: Editor: Add missing icons to UniversalId tables
|
||||||
Feature #1221: Editor: Creature/NPC rendering
|
Feature #1221: Editor: Creature/NPC rendering
|
||||||
Feature #1617: Editor: Enchantment effect record verifier
|
Feature #1617: Editor: Enchantment effect record verifier
|
||||||
|
|
|
@ -1107,6 +1107,7 @@ namespace MWInput
|
||||||
|
|
||||||
if(MWBase::Environment::get().getWindowManager()->getMode() != MWGui::GM_Journal
|
if(MWBase::Environment::get().getWindowManager()->getMode() != MWGui::GM_Journal
|
||||||
&& MWBase::Environment::get().getWindowManager()->getMode() != MWGui::GM_MainMenu
|
&& MWBase::Environment::get().getWindowManager()->getMode() != MWGui::GM_MainMenu
|
||||||
|
&& MWBase::Environment::get().getWindowManager()->getMode() != MWGui::GM_Settings
|
||||||
&& MWBase::Environment::get().getWindowManager ()->getJournalAllowed())
|
&& MWBase::Environment::get().getWindowManager ()->getJournalAllowed())
|
||||||
{
|
{
|
||||||
MWBase::Environment::get().getWindowManager()->pushGuiMode(MWGui::GM_Journal);
|
MWBase::Environment::get().getWindowManager()->pushGuiMode(MWGui::GM_Journal);
|
||||||
|
|
Loading…
Reference in a new issue