]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/warpzone/server.qc
BOT AI: Sometimes bot is pushed so hard (by a jumppad or a shot) that ends up touchin...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / warpzone / server.qc
index 943ffe3f5330731e4ab14a5667f454bcf4fdd860..936d075da8f69e2b3057d965dc35029b57b1cf23 100644 (file)
 
 void WarpZone_TeleportPlayer(entity teleporter, entity player, vector to, vector to_angles, vector to_velocity)
 {
+#ifdef SVQC
        player.lastteleport_origin = player.origin;
        player.lastteleporttime = time;
+#endif
        setorigin(player, to); // NOTE: this also aborts the move, when this is called by touch
 #ifdef SVQC
        player.oldorigin = to; // for DP's unsticking