SERVER: Disallow Zombies from dropping Power-Ups when they respawn

This commit is contained in:
cypress 2024-09-01 19:03:20 -07:00
parent e6195276ae
commit fbfcb8ac84

View file

@ -475,6 +475,10 @@ void() Zombie_ProcessRespawn =
if (self.respawn_iterator >= 10) { if (self.respawn_iterator >= 10) {
self.respawn_iterator = 0; self.respawn_iterator = 0;
// Set outside -- we do this to prevent Power-Ups from
// dropping.
self.outside = true;
// Kill it. // Kill it.
self.th_die(); self.th_die();