mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 08:23:53 +00:00
Merge branch 'patch-1' into 'master'
Make sure the player cannot use quickkeys while disableplayerfighting or disableplayermagic is active See merge request OpenMW/openmw!92
This commit is contained in:
commit
01d725d2d1
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