]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cl_client.qc
improve comments
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cl_client.qc
index 3a9d97492f8393dd4e0861d9c15b7b7fa76d4d60..1543ac156187e0f4c2497ca2b203dfc71293a5b6 100644 (file)
@@ -2602,15 +2602,15 @@ void PlayerPreThink (void)
                        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;
                        }
@@ -2675,7 +2675,6 @@ void PlayerPreThink (void)
                FOR_EACH_PLAYER(other) if(self != other)
                {
                        if(time > other.touchexplode_time)
-                       if(other.classname == "player")
                        if(other.deadflag == DEAD_NO)
                        if not(IS_INDEPENDENT_PLAYER(other))
                        if(boxesoverlap(self.absmin, self.absmax, other.absmin, other.absmax))