]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
match the weapon bind properly
authorRudolf Polzer <divverent@alientrap.org>
Mon, 12 Mar 2012 08:21:26 +0000 (09:21 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Mon, 12 Mar 2012 08:21:26 +0000 (09:21 +0100)
qcsrc/client/hud.qc

index bf8785a49b360e99254308e837829f327f80940b..a0872b61885cafa8faf5f5fdcd29642477b8b56c 100644 (file)
@@ -727,7 +727,7 @@ void HUD_Weapons(void)
                                        break;
 
                                case 2: // bind
-                                       drawstring(weapon_pos, getcommandkey(ftos(weapon_id), strcat("impulse ", ftos(weapon_id))), '1 1 0' * 0.5 * weapon_size_y, '1 1 1', panel_fg_alpha, DRAWFLAG_NORMAL);
+                                       drawstring(weapon_pos, getcommandkey(ftos(weapon_id), strcat("weapon_group_", ftos(weapon_id))), '1 1 0' * 0.5 * weapon_size_y, '1 1 1', panel_fg_alpha, DRAWFLAG_NORMAL);
                                        break;
 
                                case 3: // weapon name