From 9b29ba4589bd15a0d190d63059d8b17aa093da60 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 13 Aug 2019 05:21:36 +1000 Subject: [PATCH] In CTS, allow spawnpoints to have an invalid target (fixes a crash on several defrag maps) --- qcsrc/server/spawnpoints.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; -- 2.39.2