From 539f27f0eee58f5b06b9a92dae30f1a9cc14f816 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 31 Mar 2019 21:21:34 +1000 Subject: [PATCH] Temporary workaround for assault and race spawnpoints --- qcsrc/server/client.qc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index 55d47dbba..9ba4feeb1 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -735,10 +735,12 @@ void PutPlayerInServer(entity this) }); { - //string s = spot.target; - //spot.target = string_null; + string s = spot.target; + if(g_assault || g_race) // TODO: make targeting work in assault & race without this hack + spot.target = string_null; SUB_UseTargets(spot, this, NULL); - //spot.target = s; + if(g_assault || g_race) + spot.target = s; } Unfreeze(this, false); -- 2.39.2