|
|
|
@ -471,19 +471,19 @@ namespace MWInput
|
|
|
|
|
quickLoad();
|
|
|
|
|
break;
|
|
|
|
|
case A_CycleSpellLeft:
|
|
|
|
|
if (checkAllowedToUseItems())
|
|
|
|
|
if (checkAllowedToUseItems() && MWBase::Environment::get().getWindowManager()->isAllowed(MWGui::GW_Magic))
|
|
|
|
|
MWBase::Environment::get().getWindowManager()->cycleSpell(false);
|
|
|
|
|
break;
|
|
|
|
|
case A_CycleSpellRight:
|
|
|
|
|
if (checkAllowedToUseItems())
|
|
|
|
|
if (checkAllowedToUseItems() && MWBase::Environment::get().getWindowManager()->isAllowed(MWGui::GW_Magic))
|
|
|
|
|
MWBase::Environment::get().getWindowManager()->cycleSpell(true);
|
|
|
|
|
break;
|
|
|
|
|
case A_CycleWeaponLeft:
|
|
|
|
|
if (checkAllowedToUseItems())
|
|
|
|
|
if (checkAllowedToUseItems() && MWBase::Environment::get().getWindowManager()->isAllowed(MWGui::GW_Inventory))
|
|
|
|
|
MWBase::Environment::get().getWindowManager()->cycleWeapon(false);
|
|
|
|
|
break;
|
|
|
|
|
case A_CycleWeaponRight:
|
|
|
|
|
if (checkAllowedToUseItems())
|
|
|
|
|
if (checkAllowedToUseItems() && MWBase::Environment::get().getWindowManager()->isAllowed(MWGui::GW_Inventory))
|
|
|
|
|
MWBase::Environment::get().getWindowManager()->cycleWeapon(true);
|
|
|
|
|
break;
|
|
|
|
|
case A_Sneak:
|
|
|
|
|