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:
commit
3a2a5a90bd
1 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue