From fbfcb8ac841733af43d4ce07809d323e25e2cba3 Mon Sep 17 00:00:00 2001 From: cypress Date: Sun, 1 Sep 2024 19:03:20 -0700 Subject: [PATCH] SERVER: Disallow Zombies from dropping Power-Ups when they respawn --- source/server/ai/zombie_core.qc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/server/ai/zombie_core.qc b/source/server/ai/zombie_core.qc index ea8d3c8..799ab24 100644 --- a/source/server/ai/zombie_core.qc +++ b/source/server/ai/zombie_core.qc @@ -475,6 +475,10 @@ void() Zombie_ProcessRespawn = if (self.respawn_iterator >= 10) { self.respawn_iterator = 0; + // Set outside -- we do this to prevent Power-Ups from + // dropping. + self.outside = true; + // Kill it. self.th_die();