]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
use more readable keycode (suggested by terencehill)
authorBuddyFriendGuy <bfggeneral@gmail.com>
Thu, 9 Apr 2015 02:07:59 +0000 (22:07 -0400)
committerBuddyFriendGuy <bfggeneral@gmail.com>
Thu, 9 Apr 2015 02:07:59 +0000 (22:07 -0400)
qcsrc/menu/xonotic/maplist.qc

index 27baa35e896da542a57d9c384e3e1572cae33ffb..895d8cd54c446779e0f971f4c49d1d1a545ad3e6 100644 (file)
@@ -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);
        }