Fixed spawntemp data leaking into mid-level spawned entities

This commit is contained in:
BjossiAlfreds 2024-08-12 16:32:45 +00:00
parent 679c2d5509
commit e33d675757

View file

@ -700,6 +700,9 @@ SpawnEntities(const char *mapname, char *entities, const char *spawnpoint)
ED_CallSpawn(ent);
}
/* in case the last entity in the entstring has spawntemp fields */
memset(&st, 0, sizeof(st));
gi.dprintf("%i entities inhibited.\n", inhibit);
G_FindTeams();