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,12 +1955,14 @@ namespace MWGui
void WindowManager::cycleSpell(bool next)
{
mSpellWindow->cycle(next);
if (!isGuiMode())
mSpellWindow->cycle(next);
}
void WindowManager::cycleWeapon(bool next)
{
mInventoryWindow->cycle(next);
if (!isGuiMode())
mInventoryWindow->cycle(next);
}
void WindowManager::setConsoleSelectedObject(const MWWorld::Ptr &object)