set g_footsteps 0 "serverside footstep sounds"
-set g_deathglow 0.02 "when enabled, players stop glowing after they die (the value specifies glow fading speed)"
+set g_deathglow 1.25 "when enabled, players stop glowing after they die (the value specifies glow fading speed)"
// effects
r_picmipsprites 0 // Xonotic uses sprites that should never be picmipped (team mate, typing, waypoints)
if(self.health <= 0 && cvar("g_deathglow"))
{
if(self.glowmod_x > 0)
- self.glowmod_x -= cvar("g_deathglow");
+ self.glowmod_x -= cvar("g_deathglow") * frametime;
else
self.glowmod_x = -1;
if(self.glowmod_y > 0)
- self.glowmod_y -= cvar("g_deathglow");
+ self.glowmod_y -= cvar("g_deathglow") * frametime;
else
self.glowmod_y = -1;
if(self.glowmod_z > 0)
- self.glowmod_z -= cvar("g_deathglow");
+ self.glowmod_z -= cvar("g_deathglow") * frametime;
else
self.glowmod_z = -1;
}