mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-15 22:21:00 +00:00
Merge pull request #1225 from akortunov/master
Disable weapons and spells cycling in GUI mode
This commit is contained in:
commit
3a2a5a90bd
@ -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…
x
Reference in New Issue
Block a user