1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-07-21 05:14:10 +00:00

Disables weapon and spells cycling in GUI mode (bugs #2409, #2483, #2645)

This commit is contained in:
Andrei Kortunov 2017-03-15 17:07:25 +04:00
parent e987fe85d0
commit eb81ab5b24

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