From: FruitieX Date: Sun, 16 May 2010 18:50:06 +0000 (+0300) Subject: always show some icons on the mod icon panel when in config mode X-Git-Tag: xonotic-v0.1.0preview~541^2~149 X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=6eaec7fb6f17209698fdb722d2f7959628613e1a always show some icons on the mod icon panel when in config mode --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 864e1017c2..e21071da5f 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -2620,6 +2620,12 @@ void HUD_Mod_CTF(vector pos, vector mySize) redflag = (stat_items/IT_RED_FLAG_TAKEN) & 3; blueflag = (stat_items/IT_BLUE_FLAG_TAKEN) & 3; + if(hud_configure) + { + redflag = 1; + blueflag = 2; + } + // when status CHANGES, set old status into prevstatus and current status into status if (redflag != redflag_prevframe) { @@ -3016,7 +3022,7 @@ void HUD_ModIcons(void) // TODO... well make them work in a panel etc if(gametype == GAME_KEYHUNT) HUD_Mod_KH(pos, mySize); - else if(gametype == GAME_CTF) + else if(gametype == GAME_CTF || hud_configure) HUD_Mod_CTF(pos, mySize); else if(gametype == GAME_NEXBALL) HUD_Mod_NexBall(pos, mySize);