]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
If the spiderbot is blown up don't show the teleport effect where the spiderbot was
authorterencehill <piuntn@gmail.com>
Fri, 21 Jun 2013 14:42:41 +0000 (16:42 +0200)
committerterencehill <piuntn@gmail.com>
Fri, 21 Jun 2013 14:42:41 +0000 (16:42 +0200)
qcsrc/server/vehicles/spiderbot.qc

index a96d668367cc41c1ffa9d7fc5f809086516b3790..5dcfdc2571e43a4ceb9f9e0dd122e1f3ff1f12e8 100644 (file)
@@ -739,6 +739,7 @@ void spiderbot_blowup()
     self.solid      = SOLID_NOT;
     self.tur_head.effects  &~=  EF_FLAME;
        self.vehicle_hudmodel.viewmodelforclient = self;
+       setorigin(self, self.pos1);
 }
 
 void spiderbot_die()