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);
} }