From da1e4892d10f7e5f472e7171ebfca221c77b3a82 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 18 Feb 2011 15:55:59 +0100 Subject: [PATCH] also support notq3a/notta fields, by considering any teamplay non-DM non-CTF game type a "team arena" game type --- qcsrc/server/t_quake3.qc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/qcsrc/server/t_quake3.qc b/qcsrc/server/t_quake3.qc index b96599475..8cc7e4797 100644 --- a/qcsrc/server/t_quake3.qc +++ b/qcsrc/server/t_quake3.qc @@ -135,13 +135,19 @@ void spawnfunc_item_flight() { spawnfunc_item_jetpack(); } .float notsingle; .float notfree; .float notq3a; +.float notta; .string gametype; float DoesQ3ARemoveThisEntity() { // Q3 style filters (DO NOT USE, THIS IS COMPAT ONLY) if(self.notq3a) - return 1; + if(!teams_matter || g_tdm || g_ctf) + return 1; + + if(self.notta) + if not(!teams_matter || g_tdm || g_ctf) + return 1; if(self.notsingle) if(maxclients == 1) -- 2.39.2