From: Mario Date: Sat, 31 Oct 2020 14:31:28 +0000 (+1000) Subject: Always link mapper-placed entities to the world ensuring they have a proper bounding... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=refs%2Fheads%2FMario%2Fmap_entity_fix;p=xonotic%2Fdarkplaces.git Always link mapper-placed entities to the world ensuring they have a proper bounding box, fixes #286 --- 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;