From ec9c87a3de4e11aa011fb30f697d998872d787f4 Mon Sep 17 00:00:00 2001
From: Mario <mario@smbclan.net>
Date: Sun, 1 Nov 2020 00:31:28 +1000
Subject: [PATCH] Always link mapper-placed entities to the world ensuring they
 have a proper bounding box, fixes #286

---
 prvm_edict.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/prvm_edict.c b/prvm_edict.c
index 5efd5ed6..48e2018c 100644
--- a/prvm_edict.c
+++ b/prvm_edict.c
@@ -1536,6 +1536,8 @@ void PRVM_ED_LoadFromFile (prvm_prog_t *prog, const char *data)
 			continue;
 		}
 
+		SV_LinkEdict(ent);
+
 		if(!PRVM_ED_CallSpawnFunction(prog, ent, data, start))
 			continue;
 		
-- 
2.39.5