From: BuddyFriendGuy Date: Thu, 9 Apr 2015 02:07:59 +0000 (-0400) Subject: use more readable keycode (suggested by terencehill) X-Git-Tag: xonotic-v0.8.1~23^2~13 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d5c06900dc90780f41e45295a849739f21540cfc;p=xonotic%2Fxonotic-data.pk3dir.git use more readable keycode (suggested by terencehill) --- 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); }