mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-15 07:17:46 -04:00
Merge pull request #1225 from akortunov/master
Disable weapons and spells cycling in GUI mode
This commit is contained in:
commit
3a2a5a90bd
@ -1955,11 +1955,13 @@ namespace MWGui
|
||||
|
||||
void WindowManager::cycleSpell(bool next)
|
||||
{
|
||||
if (!isGuiMode())
|
||||
mSpellWindow->cycle(next);
|
||||
}
|
||||
|
||||
void WindowManager::cycleWeapon(bool next)
|
||||
{
|
||||
if (!isGuiMode())
|
||||
mInventoryWindow->cycle(next);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user