From: Mario Date: Tue, 19 Jul 2016 08:43:19 +0000 (+1000) Subject: Enable stalemate icon X-Git-Tag: xonotic-v0.8.2~700^2~11^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b915809344a3870fe47d7de464898a8fe2908a5a;p=xonotic%2Fxonotic-data.pk3dir.git Enable stalemate icon --- diff --git a/qcsrc/client/hud/panel/modicons.qc b/qcsrc/client/hud/panel/modicons.qc index f4896fd20..18bde3c72 100644 --- a/qcsrc/client/hud/panel/modicons.qc +++ b/qcsrc/client/hud/panel/modicons.qc @@ -267,7 +267,7 @@ void HUD_Mod_CTF(vector pos, vector mySize) #define X(team) MACRO_BEGIN { \ f = bound(0, team##flag_statuschange_elapsedtime * 2, 1); \ - if (team##_icon && 0) /* TODO Replace 0 with stalemate condition */ \ + if (team##_icon && ctf_stalemate) \ drawpic_aspect_skin(team##flag_pos, "flag_stalemate", flag_size, '1 1 1', panel_fg_alpha, DRAWFLAG_NORMAL); \ if (team##_icon_prevstatus && f < 1) \ drawpic_aspect_skin_expanding(team##flag_pos, team##_icon_prevstatus, flag_size, '1 1 1', panel_fg_alpha * team##_alpha_prevstatus, DRAWFLAG_NORMAL, f); \