From dc51a4a26ab637b44502e8c8cf3d4856d26d0e7f Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Tue, 22 Oct 2013 12:03:37 +0200 Subject: [PATCH] use have_team_spawns, not teamplay, to decide whether to assume "bases" --- qcsrc/server/item_ammo.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/item_ammo.qc b/qcsrc/server/item_ammo.qc index 93d6a8a85..18426de07 100644 --- a/qcsrc/server/item_ammo.qc +++ b/qcsrc/server/item_ammo.qc @@ -95,7 +95,7 @@ void item_ammo_pick() ++n_a; float n_teams = 1; - if (teamplay) + if (have_team_spawns > 0) { CheckAllowedTeams(world); n_teams = (c1 >= 0) + (c2 >= 0) + (c3 >= 0) + (c4 >= 0); -- 2.39.2