]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Dont spawn vehicles 128 units above spawm spot (fix raptor spawn-enter-crashdown)
authorJakob MG <jakob_mg@hotmail.com>
Tue, 22 Nov 2011 10:01:40 +0000 (11:01 +0100)
committerJakob MG <jakob_mg@hotmail.com>
Tue, 22 Nov 2011 10:01:40 +0000 (11:01 +0100)
qcsrc/server/vehicles/vehicles.qc

index 0aae5e174d8cb289b356c42fa9fd747b9db0d145..8063c2791fd66eb0943453afe9cf92a76e890f0d 100644 (file)
@@ -356,7 +356,7 @@ void vehicles_spawn()
 
     // Return to spawn
     self.angles             = self.pos2;
-    setorigin(self, self.pos1 + '0 0 128');
+    setorigin(self, self.pos1 + '0 0 0');
     // Show it
     pointparticles(particleeffectnum("teleport"), self.origin + '0 0 64', '0 0 0', 1);