]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Ugly workaround for a Keyhunt issue. Your team's key can still be given to you while...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 18 Apr 2011 14:38:40 +0000 (17:38 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 18 Apr 2011 14:38:40 +0000 (17:38 +0300)
data/qcsrc/server/vore.qc

index ac8d5b48d04d7687794a79cc62ba98436fd8ab7b..79eed0af29f938d4606959af94e82a142deb65e5 100644 (file)
@@ -649,4 +649,8 @@ void Vore()
                Vore_StomachLeave();\r
 \r
        Vore_CameraEffect_Apply();\r
+\r
+       // Ugly workaround for a Keyhunt issue. Your team's key can still be given to you while're in the stomach\r
+       // (at round start), which is pretty ugly and wrong. So attempt to drop keys each frame for prey\r
+       kh_Key_DropAll(self, FALSE);\r
 }
\ No newline at end of file