mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-28 22:09:42 +00:00
Disable quick keys when fighting and spellcasting are disabled (bug #4962)
This commit is contained in:
parent
f4e113e7c1
commit
27292ef4a3
2 changed files with 2 additions and 1 deletions
|
@ -60,6 +60,7 @@
|
|||
Bug #4963: Enchant skill progress is incorrect
|
||||
Bug #4965: Global light attenuation settings setup is lacking
|
||||
Bug #4969: "Miss" sound plays for any actor
|
||||
Bug #4972: Player is able to use quickkeys while disableplayerfighting is active
|
||||
Feature #2229: Improve pathfinding AI
|
||||
Feature #3442: Default values for fallbacks from ini file
|
||||
Feature #3610: Option to invert X axis
|
||||
|
|
|
@ -1333,7 +1333,7 @@ namespace MWInput
|
|||
|
||||
void InputManager::quickKey (int index)
|
||||
{
|
||||
if (!mControlSwitch["playercontrols"])
|
||||
if (!mControlSwitch["playercontrols"] || !mControlSwitch["playerfighting"] || !mControlSwitch["playermagic"])
|
||||
return;
|
||||
if (!checkAllowedToUseItems())
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue