]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Enable stalemate icon 338/head
authorMario <mario@smbclan.net>
Tue, 19 Jul 2016 08:43:19 +0000 (18:43 +1000)
committerMario <mario@smbclan.net>
Tue, 19 Jul 2016 08:43:19 +0000 (18:43 +1000)
qcsrc/client/hud/panel/modicons.qc

index f4896fd208d8fee078f32949d5720431833355ba..18bde3c721b7a78e76543dfdbccb4b689f58cf4b 100644 (file)
@@ -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); \