mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Merge pull request #1140 from BjossiAlfreds/spawntemp-leak-fix
Fixed spawntemp data leaking into mid-level spawned entities
This commit is contained in:
commit
e2d8572839
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue