From: FruitieX Date: Tue, 11 May 2010 20:14:30 +0000 (+0300) Subject: show all weapons again in hud conf mode in divVerent's implementation X-Git-Tag: xonotic-v0.1.0preview~541^2~194 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=15474025c861f642e53ca02954f6faaebf4ce66d;p=xonotic%2Fxonotic-data.pk3dir.git show all weapons again in hud conf mode in divVerent's implementation --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 8b8b98600..bb9e98521 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -1036,7 +1036,7 @@ void HUD_WeaponIcons() for(i = WEP_FIRST; i <= WEP_LAST; ++i) { self = get_weaponinfo(i); - if(self.weapons && (self.impulse >= 0) && (stat_weapons & self.weapons)) + if(self.weapons && (self.impulse >= 0) && (stat_weapons & self.weapons) || cvar("_hud_configure")) { weaponorder[weapon_cnt] = self; ++weapon_cnt;