From 517dfb4d75b28899c08dbdb48db5542f8c865aa1 Mon Sep 17 00:00:00 2001 From: Glorf Date: Fri, 3 May 2013 13:24:34 +0200 Subject: [PATCH] Bugfix #732 part 2 --- apps/openmw/mwinput/inputmanagerimp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/openmw/mwinput/inputmanagerimp.cpp b/apps/openmw/mwinput/inputmanagerimp.cpp index 01ef36177..a7ec4d4d2 100644 --- a/apps/openmw/mwinput/inputmanagerimp.cpp +++ b/apps/openmw/mwinput/inputmanagerimp.cpp @@ -917,8 +917,8 @@ namespace MWInput void InputManager::keyBindingDetected(ICS::InputControlSystem* ICS, ICS::Control* control , OIS::KeyCode key, ICS::Control::ControlChangingDirection direction) { - //Disallow binding escape key - if(key==OIS::KC_ESCAPE) + //Disallow binding escape key, and unassigned keys + if(key==OIS::KC_ESCAPE || key==OIS::KC_UNASSIGNED) return clearAllBindings(control);