]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
remove an old teleport related hack
authorRudolf Polzer <divVerent@xonotic.org>
Fri, 22 Apr 2011 09:21:27 +0000 (11:21 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Fri, 22 Apr 2011 09:21:27 +0000 (11:21 +0200)
qcsrc/server/cl_client.qc

index a1047ea9d07595dae83fcb3fd49953b5b24062c7..4f92644667b0224c8f5e3a9763bca8727d5c8ad8 100644 (file)
@@ -2698,13 +2698,6 @@ void PlayerPreThink (void)
                        return;                                 // the think tics
                }
 
-               if(self.teleport_time)
-               if(time > self.teleport_time)
-               {
-                       self.teleport_time = 0;
-                       self.effects = self.effects - (self.effects & EF_NODRAW);
-               }
-
                if(frametime > 0) // don't do this in cl_movement frames, just in server ticks
                        UpdateSelectedPlayer();