mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-25 05:11:05 +00:00
SERVER: Disallow Zombies from dropping Power-Ups when they respawn
This commit is contained in:
parent
e6195276ae
commit
fbfcb8ac84
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue