]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Always link mapper-placed entities to the world ensuring they have a proper bounding... Mario/map_entity_fix
authorMario <mario@smbclan.net>
Sat, 31 Oct 2020 14:31:28 +0000 (00:31 +1000)
committerMario <mario@smbclan.net>
Sat, 31 Oct 2020 14:31:28 +0000 (00:31 +1000)
prvm_edict.c

index 5efd5ed6eba0152ef48af9c7aa2a4083c4e92751..48e2018c63ca2499788b588bf27cab4d8e069a47 100644 (file)
@@ -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;