fixed so that you can't bind esc

This commit is contained in:
Magnus Auvinen 2007-12-17 00:18:10 +00:00
parent e8b68bcd33
commit 64dd53133c

View file

@ -682,7 +682,9 @@ int ui2_do_key_reader(void *id, const RECT *rect, int key)
int k = inp_last_key();
if (k)
{
new_key = k;
if(k != KEY_ESC)
new_key = k;
ui_set_active_item(0);
mouse_released = false;
}