]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/cl_physics.qc
More intermission music client side, and fix an issue I introduced
[voretournament/voretournament.git] / data / qcsrc / server / cl_physics.qc
index 8f9812f44aa1b4045c900b7dbcb8854c8a9644e0..0224bd01f15ce824293b8697c9c6bffca9f9679d 100644 (file)
@@ -1157,6 +1157,10 @@ void SV_PlayerPhysics()
                        }\r
                }\r
        }\r
+\r
+       if(vlen(self.velocity) > cvar("g_deathspeed"))\r
+               Damage(self, world, world, 100000, DEATH_KILL, self.origin, '0 0 0');\r
+\r
 :end\r
        if(self.flags & FL_ONGROUND)\r
                self.lastground = time;\r