From: Mario Date: Mon, 12 Aug 2019 19:21:36 +0000 (+1000) Subject: In CTS, allow spawnpoints to have an invalid target (fixes a crash on several defrag... X-Git-Tag: xonotic-v0.8.5~1400 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9b29ba4589bd15a0d190d63059d8b17aa093da60;p=xonotic%2Fxonotic-data.pk3dir.git In CTS, allow spawnpoints to have an invalid target (fixes a crash on several defrag maps) --- diff --git a/qcsrc/server/spawnpoints.qc b/qcsrc/server/spawnpoints.qc index 03b40c5e1..40acbb6d4 100644 --- a/qcsrc/server/spawnpoints.qc +++ b/qcsrc/server/spawnpoints.qc @@ -262,7 +262,7 @@ vector Spawn_Score(entity this, entity spot, float mindist, float teamcheck) } } - if(!found) + if(!found && !g_cts) { LOG_TRACE("WARNING: spawnpoint at ", vtos(spot.origin), " could not find its target ", spot.target); return '-1 0 0';