From: MirceaKitsune Date: Mon, 18 Apr 2011 14:38:40 +0000 (+0300) Subject: Ugly workaround for a Keyhunt issue. Your team's key can still be given to you while... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ac42bc390c34c11a210265c19e118b753a407614;p=voretournament%2Fvoretournament.git Ugly workaround for a Keyhunt issue. Your team's key can still be given to you while in the stomach (at round start), which is pretty ugly and wrong. So attempt to drop keys each frame for prey --- diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index ac8d5b48..79eed0af 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -649,4 +649,8 @@ void Vore() Vore_StomachLeave(); Vore_CameraEffect_Apply(); + + // Ugly workaround for a Keyhunt issue. Your team's key can still be given to you while're in the stomach + // (at round start), which is pretty ugly and wrong. So attempt to drop keys each frame for prey + kh_Key_DropAll(self, FALSE); } \ No newline at end of file