mirror of
https://github.com/yquake2/zaero.git
synced 2024-11-21 19:41:07 +00:00
Fixed spawntemp data leaking into mid-level spawned entities
This commit is contained in:
parent
24844dc176
commit
65fc29b71e
1 changed files with 3 additions and 0 deletions
|
@ -680,6 +680,9 @@ void 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 created\n", globals.num_edicts);
|
||||
gi.dprintf ("%i entities inhibited\n", inhibit);
|
||||
|
||||
|
|
Loading…
Reference in a new issue