Fixed spawntemp data leaking into mid-level spawned entities

This commit is contained in:
BjossiAlfreds 2024-08-12 16:31:51 +00:00
parent 3fd777fb2e
commit 982d100bb0
1 changed files with 3 additions and 0 deletions

View File

@ -897,6 +897,9 @@ SpawnEntities(const char *mapname, char *entities, const char *spawnpoint)
ent->s.renderfx |= RF_IR_VISIBLE;
}
/* 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();