From: Mircea Kitsune Date: Wed, 14 Jul 2010 14:33:28 +0000 (+0300) Subject: We want this to be -1. Also make the fading slower X-Git-Tag: xonotic-v0.1.0preview~434^2~4 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a783880f0e13ef601636034c1af68dbf581143d9;p=xonotic%2Fxonotic-data.pk3dir.git We want this to be -1. Also make the fading slower --- diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index f9747406f..52136cf27 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -849,7 +849,7 @@ set g_bloodloss 0 "amount of health below which blood loss occurs" set g_footsteps 0 "serverside footstep sounds" -set g_deathglow 0.05 "the glow of a player slowly decreases to black after they die" +set g_deathglow 0.025 "the glow of a player slowly decreases to black after they die" // effects r_picmipsprites 0 // Xonotic uses sprites that should never be picmipped (team mate, typing, waypoints) diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index 8403f3dc7..3a9d97492 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -2604,15 +2604,15 @@ void PlayerPreThink (void) if(self.glowmod_x > 0) self.glowmod_x -= cvar("g_deathglow"); else - self.glowmod_x = 0; + self.glowmod_x = -1; if(self.glowmod_y > 0) self.glowmod_y -= cvar("g_deathglow"); else - self.glowmod_y = 0; + self.glowmod_y = -1; if(self.glowmod_z > 0) self.glowmod_z -= cvar("g_deathglow"); else - self.glowmod_z = 0; + self.glowmod_z = -1; } else self.glowmod = colormapPaletteColor(self.clientcolors & 0x0F, TRUE) * 2;