1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-28 21:09:40 +00:00

Merge pull request #1225 from akortunov/master

Disable weapons and spells cycling in GUI mode
This commit is contained in:
scrawl 2017-03-15 18:51:12 +01:00 committed by GitHub
commit 3a2a5a90bd

View file

@ -1955,11 +1955,13 @@ namespace MWGui
void WindowManager::cycleSpell(bool next) void WindowManager::cycleSpell(bool next)
{ {
if (!isGuiMode())
mSpellWindow->cycle(next); mSpellWindow->cycle(next);
} }
void WindowManager::cycleWeapon(bool next) void WindowManager::cycleWeapon(bool next)
{ {
if (!isGuiMode())
mInventoryWindow->cycle(next); mInventoryWindow->cycle(next);
} }