]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Stop conveyors from moving a player after respawning elsewhere.
authorRudolf Polzer <divVerent@xonotic.org>
Tue, 29 Mar 2016 19:29:25 +0000 (15:29 -0400)
committerRudolf Polzer <divVerent@xonotic.org>
Tue, 29 Mar 2016 19:29:25 +0000 (15:29 -0400)
qcsrc/server/cl_client.qc

index 9edcf8d5f0806097e3ea7b058d28e4f4c8e662ad..45d8b53582ec0df2d7ec7406240a464a14a6e7de 100644 (file)
@@ -569,7 +569,8 @@ void PutClientInServer()
                this.oldorigin = this.origin;
                this.prevorigin = this.origin;
                this.lastteleporttime = time; // prevent insane speeds due to changing origin
-        this.hud = HUD_NORMAL;
+               this.conveyor = NULL; // prevent conveyors at the previous location from moving a freshly spawned player
+               this.hud = HUD_NORMAL;
 
                this.event_damage = PlayerDamage;