From: unknown Date: Thu, 18 Nov 2010 21:09:12 +0000 (-0500) Subject: Issue fixed so the warning isn't needed anymore X-Git-Tag: xonotic-v0.1.0preview~86^2~2^2~1^2~32 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1277ee36850bd86811147eeed7287ae8b98903d0;p=xonotic%2Fxonotic-data.pk3dir.git Issue fixed so the warning isn't needed anymore --- diff --git a/qcsrc/server/mutators/gamemode_keepaway.qc b/qcsrc/server/mutators/gamemode_keepaway.qc index 27fb396ad..6435f05e0 100644 --- a/qcsrc/server/mutators/gamemode_keepaway.qc +++ b/qcsrc/server/mutators/gamemode_keepaway.qc @@ -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");