From: Mario Date: Sun, 31 Mar 2019 11:21:34 +0000 (+1000) Subject: Temporary workaround for assault and race spawnpoints X-Git-Tag: xonotic-v0.8.5~1567 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=539f27f0eee58f5b06b9a92dae30f1a9cc14f816;p=xonotic%2Fxonotic-data.pk3dir.git Temporary workaround for assault and race spawnpoints --- 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);