Separate image file for the food splash. Currently the same as the blood one, but...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 25 Feb 2011 22:59:52 +0000 (00:59 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 25 Feb 2011 22:59:52 +0000 (00:59 +0200)
data/gfx/food.tga [new file with mode: 0644]
data/qcsrc/client/View.qc

diff --git a/data/gfx/food.tga b/data/gfx/food.tga
new file mode 100644 (file)
index 0000000..946d235
Binary files /dev/null and b/data/gfx/food.tga differ
index e5bc1907df00cce09ccaef426d13913987ef8cce..f221da7f3a246f657735ce48951248efb806223d 100644 (file)
@@ -608,7 +608,7 @@ void CSQC_UpdateView(float w, float h)
                                stomachsplash_alpha = 0;\r
                }\r
                stomachsplash_alpha = bound(0, stomachsplash_alpha, 1);\r
-               drawpic('0 0 0', "gfx/blood", '1 0 0' * vid_conwidth + '0 1 0' * vid_conheight, stov(cvar_string("hud_stomach_color")), stomachsplash_alpha, DRAWFLAG_NORMAL);\r
+               drawpic('0 0 0', "gfx/food", '1 0 0' * vid_conwidth + '0 1 0' * vid_conheight, stov(cvar_string("hud_stomach_color")), stomachsplash_alpha, DRAWFLAG_NORMAL);\r
        }\r
 \r
        if(cvar("hud_postprocessing"))\r