1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-27 05:10:26 +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);
} }