1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 23:53:52 +00:00

Bugfix #732 part 2

This commit is contained in:
Glorf 2013-05-03 13:24:34 +02:00
parent 57f22c77c0
commit 517dfb4d75

View file

@ -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);