From: Severin Meyer Date: Thu, 22 Jan 2015 22:11:53 +0000 (+0100) Subject: Fix minus key bug in the weaponslist X-Git-Tag: xonotic-v0.8.1~150^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=76ceb115980dcd63be53c4b43c334e6fe56b032e;p=xonotic%2Fxonotic-data.pk3dir.git Fix minus key bug in the weaponslist --- diff --git a/qcsrc/menu/xonotic/weaponslist.c b/qcsrc/menu/xonotic/weaponslist.c index 8e573b8c3..8a8e2205d 100644 --- a/qcsrc/menu/xonotic/weaponslist.c +++ b/qcsrc/menu/xonotic/weaponslist.c @@ -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;