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

pull/186/head
Andrei Kortunov 8 years ago
parent e987fe85d0
commit eb81ab5b24

@ -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)

Loading…
Cancel
Save