mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-29 16:36:43 +00:00
Bugfix #732 part 2
This commit is contained in:
parent
57f22c77c0
commit
517dfb4d75
1 changed files with 2 additions and 2 deletions
|
@ -917,8 +917,8 @@ namespace MWInput
|
||||||
void InputManager::keyBindingDetected(ICS::InputControlSystem* ICS, ICS::Control* control
|
void InputManager::keyBindingDetected(ICS::InputControlSystem* ICS, ICS::Control* control
|
||||||
, OIS::KeyCode key, ICS::Control::ControlChangingDirection direction)
|
, OIS::KeyCode key, ICS::Control::ControlChangingDirection direction)
|
||||||
{
|
{
|
||||||
//Disallow binding escape key
|
//Disallow binding escape key, and unassigned keys
|
||||||
if(key==OIS::KC_ESCAPE)
|
if(key==OIS::KC_ESCAPE || key==OIS::KC_UNASSIGNED)
|
||||||
return
|
return
|
||||||
|
|
||||||
clearAllBindings(control);
|
clearAllBindings(control);
|
||||||
|
|
Loading…
Reference in a new issue