]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/View.qc
draw a fullscreen cyan tint when frozen, easy to add/replace with an image later
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / View.qc
index 1c58d390450f2a57cb59d89e3f766d4894b44713..f84ebe01dd91a4040f3791b65b3343a420fe2de9 100644 (file)
@@ -695,6 +695,10 @@ void CSQC_UpdateView(float w, float h)
         CSQC_RAPTOR_HUD();
        else
        {
+               if(gametype == GAME_FREEZETAG)
+                       if(getstati(STAT_FROZEN))
+                               drawfill('0 0 0', eX * vid_conwidth + eY * vid_conheight, '0.25 0.90 1', cvar("hud_colorflash_alpha"), DRAWFLAG_ADDITIVE);
+
                if(cvar("r_letterbox") == 0)
                        if(cvar("viewsize") < 120)
                                CSQC_common_hud();