]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix a small func_vectormamamamam bug (wrong origin)
authorRudolf Polzer <divverent@xonotic.org>
Thu, 11 Oct 2012 12:08:41 +0000 (14:08 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 11 Oct 2012 12:08:41 +0000 (14:08 +0200)
qcsrc/server/t_plats.qc

index cd3c8d10607b54642413455633077681f03e17f2..8c2766295e7ca3cad676c15247e82c9581404a11 100644 (file)
@@ -2006,7 +2006,7 @@ void func_vectormamamam_findtarget()
        if(!self.wp00 && !self.wp01 && !self.wp02 && !self.wp03)
                objerror("No reference entity found, so there is nothing to move. Aborting.");
 
-       self.destvec = self.origin - func_vectormamamam_origin(self.owner, 0);
+       self.destvec = self.origin - func_vectormamamam_origin(self, 0);
 
        entity controller;
        controller = spawn();