From 1277ee36850bd86811147eeed7287ae8b98903d0 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 18 Nov 2010 16:09:12 -0500 Subject: [PATCH] Issue fixed so the warning isn't needed anymore --- qcsrc/server/mutators/gamemode_keepaway.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.39.2