X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fgamemodes%2Fgamemode%2Fkeyhunt%2Fcl_keyhunt.qc;h=29cb4194a3e975484cc4b22c5591230b39816524;hp=e95275eba9a1af2078644a103c19495ca16064a9;hb=HEAD;hpb=4b615d6ea3ee6794ea9368c782393c66ef55c170 diff --git a/qcsrc/common/gamemodes/gamemode/keyhunt/cl_keyhunt.qc b/qcsrc/common/gamemodes/gamemode/keyhunt/cl_keyhunt.qc index e95275eba9..1600d1e2b3 100644 --- a/qcsrc/common/gamemodes/gamemode/keyhunt/cl_keyhunt.qc +++ b/qcsrc/common/gamemodes/gamemode/keyhunt/cl_keyhunt.qc @@ -10,7 +10,7 @@ void HUD_Mod_KH(vector pos, vector mySize) mod_active = 1; // keyhunt should never hide the mod icons panel // Read current state - int state = STAT(KH_KEYS); + int state = STAT(OBJECTIVE_STATUS); if(!state) return; int i, key_state; @@ -85,6 +85,7 @@ void HUD_Mod_KH(vector pos, vector mySize) case NUM_TEAM_4: if(team4_keys == all_keys) alpha = blink; break; } } + alpha *= panel_fg_alpha; // Draw icons