From d5c06900dc90780f41e45295a849739f21540cfc Mon Sep 17 00:00:00 2001 From: BuddyFriendGuy Date: Wed, 8 Apr 2015 22:07:59 -0400 Subject: [PATCH] use more readable keycode (suggested by terencehill) --- qcsrc/menu/xonotic/maplist.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/menu/xonotic/maplist.qc b/qcsrc/menu/xonotic/maplist.qc index 27baa35e8..895d8cd54 100644 --- a/qcsrc/menu/xonotic/maplist.qc +++ b/qcsrc/menu/xonotic/maplist.qc @@ -391,7 +391,7 @@ float XonoticMapList_keyDown(entity me, float scan, float ascii, float shift) if(MapInfo_FindName_firstResult >= 0) me.setSelected(me, MapInfo_FindName_firstResult); } - else if(scan == 102 && ascii == 6 && shift == 2) // ctrl-f ("F"ind) + else if(shift & S_CTRL && scan == 'f') // ctrl-f (as in "F"ind) { me.parent.setFocus(me.parent, me.stringFilterBox); } -- 2.39.2