r3062 - trunk/data/qcsrc/menu-div0test/nexuiz
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Dec 31 07:10:01 EST 2007
Author: div0
Date: 2007-12-31 07:10:00 -0500 (Mon, 31 Dec 2007)
New Revision: 3062
Modified:
trunk/data/qcsrc/menu-div0test/nexuiz/keybinder.c
Log:
allow ESCAPE to abort key grabbing
Modified: trunk/data/qcsrc/menu-div0test/nexuiz/keybinder.c
===================================================================
--- trunk/data/qcsrc/menu-div0test/nexuiz/keybinder.c 2007-12-31 12:07:29 UTC (rev 3061)
+++ trunk/data/qcsrc/menu-div0test/nexuiz/keybinder.c 2007-12-31 12:10:00 UTC (rev 3062)
@@ -98,6 +98,9 @@
float n, j, k, nvalid;
string func;
+ if(key == K_ESCAPE)
+ return;
+
func = Nexuiz_KeyBinds_Functions[me.selectedItem];
if(func == "")
return;
More information about the nexuiz-commits
mailing list