diff --git a/src/game/g_spawn.c b/src/game/g_spawn.c index bd44a686..363459b4 100644 --- a/src/game/g_spawn.c +++ b/src/game/g_spawn.c @@ -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();