From: MirceaKitsune Date: Fri, 15 Apr 2011 21:30:00 +0000 (+0300) Subject: Do it AFTER setting the new player origin, else the issue still happens X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b6181f3ac2c75f7d2339fe17481296f66cd4e6ac;p=voretournament%2Fvoretournament.git Do it AFTER setting the new player origin, else the issue still happens --- diff --git a/data/qcsrc/server/cl_client.qc b/data/qcsrc/server/cl_client.qc index d1fda906..b5243b5c 100644 --- a/data/qcsrc/server/cl_client.qc +++ b/data/qcsrc/server/cl_client.qc @@ -913,7 +913,6 @@ void PutClientInServer (void) self.punchvector = '0 0 0'; self.oldvelocity = self.velocity; self.fire_endtime = -1; - self.lastteleporttime = time; msg_entity = self; WRITESPECTATABLE_MSG_ONE({ @@ -937,6 +936,7 @@ void PutClientInServer (void) self.oldorigin = self.origin; self.prevorigin = self.origin; self.lastrocket = world; // stop rocket guiding, no revenge from the grave! + self.lastteleporttime = time; // prevent insane speeds due to changing origin if(g_arena) {