From: Samual Lenks Date: Tue, 7 May 2013 05:07:48 +0000 (-0400) Subject: Try setting colormod for the deathfade function X-Git-Tag: xonotic-v0.7.0~24^2~6 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f7da9a3b9e31c678c9b4228be48699bc13a98f0d;p=xonotic%2Fxonotic-data.pk3dir.git Try setting colormod for the deathfade function --- diff --git a/qcsrc/client/csqcmodel_hooks.qc b/qcsrc/client/csqcmodel_hooks.qc index 109b83d16..c7e6da95f 100644 --- a/qcsrc/client/csqcmodel_hooks.qc +++ b/qcsrc/client/csqcmodel_hooks.qc @@ -569,6 +569,7 @@ void CSQCPlayer_GlowMod_Apply(void) if(autocvar_cl_deathglow > 0) if(self.csqcmodel_isdead) { + self.colormod = '1 1 1'; self.glowmod = self.glowmod * bound(0, 1 - (time - self.death_time) / autocvar_cl_deathglow, 1); // prevent the zero vector self.glowmod_x = max(self.glowmod_x, 0.0001);