]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix minus key bug in the weaponslist
authorSeverin Meyer <sev.ch@web.de>
Thu, 22 Jan 2015 22:11:53 +0000 (23:11 +0100)
committerSeverin Meyer <sev.ch@web.de>
Thu, 22 Jan 2015 22:11:53 +0000 (23:11 +0100)
qcsrc/menu/xonotic/weaponslist.c

index 8e573b8c3fecbbcbc8121ff79da1d7edc883c0d8..8a8e2205dde03b0ed001162728dda4e6e6783dc9 100644 (file)
@@ -117,7 +117,7 @@ float XonoticWeaponsList_keyDown(entity me, float scan, float ascii, float shift
                WeaponsList_MoveUp_Click(NULL, me);
                return 1;
        }
-       else if(scan == 45) // -
+       else if(ascii == 45) // -
        {
                WeaponsList_MoveDown_Click(NULL, me);
                return 1;