]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
No hud blood effect while the player is frozen
authorterencehill <piuntn@gmail.com>
Thu, 14 Feb 2013 19:32:52 +0000 (20:32 +0100)
committerterencehill <piuntn@gmail.com>
Thu, 14 Feb 2013 19:32:52 +0000 (20:32 +0100)
qcsrc/client/View.qc

index dac205e723f0bd607b0313b495a1afedf52d4b11..25a47e21756d407c178b8f17142669afdebdcb88 100644 (file)
@@ -862,8 +862,8 @@ void CSQC_UpdateView(float w, float h)
                        }
                }
        }
-       
-       if(autocvar_hud_damage)
+
+       if(autocvar_hud_damage && !getstati(STAT_FROZEN))
        {
                splash_size_x = max(vid_conwidth, vid_conheight);
                splash_size_y = max(vid_conwidth, vid_conheight);