From d64aef439cacf93f9accdd57a765e98cd8687e19 Mon Sep 17 00:00:00 2001 From: terencehill Date: Fri, 6 Jan 2012 00:02:05 +0100 Subject: [PATCH] Remove checks that avoid resetting strength and invincibility when warmup ends. The goal of those checks was to prevent that they spawn "very early each match" but current code seems working fine without them. The main issue was: if e.g. strength is already spawned but not taken in the warmup stage, match starts with it already spawned. --- qcsrc/server/arena.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/arena.qc b/qcsrc/server/arena.qc index c89c2b2ef..023958a58 100644 --- a/qcsrc/server/arena.qc +++ b/qcsrc/server/arena.qc @@ -56,7 +56,7 @@ void reset_map(float dorespawn) race_ReadyRestart(); for(self = world; (self = nextent(self)); ) - if(clienttype(self) == CLIENTTYPE_NOTACLIENT && self.items != IT_STRENGTH && self.items != IT_INVINCIBLE) // don't respawn strength or shield, that will only lead to them spawning very early each match + if(clienttype(self) == CLIENTTYPE_NOTACLIENT) { if(self.reset) { -- 2.39.2