]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Issue fixed so the warning isn't needed anymore
authorunknown <samual@xonotic.org>
Thu, 18 Nov 2010 21:09:12 +0000 (16:09 -0500)
committerunknown <samual@xonotic.org>
Thu, 18 Nov 2010 21:09:12 +0000 (16:09 -0500)
qcsrc/server/mutators/gamemode_keepaway.qc

index 27fb396ad2c7f86867b94296796cfa6d53885740..6435f05e01d0dd07086cd7da872c8424c6deb741 100644 (file)
@@ -133,7 +133,7 @@ MUTATOR_HOOKFUNCTION(ka_RemovePlayer)
                self.effects = EF_LOWPRECISION;
                self.alpha = 1.0;
                ball.alpha = 1.0;
-               setorigin(ball, self.origin + '0 0 10'); // FIX ME: If a player becomes spectator, the hook function is given AFTER this happens, which means the origin given is after they already moved to another position, not where they died!
+               setorigin(ball, self.origin + '0 0 10');
                ball.velocity = '0 0 200' + '0 100 0'*crandom() + '100 0 0'*crandom();
        
                bprint(self.netname, "^7 has dropped the ball!\n");