- Fixed: Starting a new game didn't remove the deferred scripts.

SVN r337 (trunk)
This commit is contained in:
Christoph Oelckers 2006-09-23 20:14:06 +00:00
commit adf6579b37
2 changed files with 6 additions and 3 deletions

View file

@ -1403,12 +1403,12 @@ void G_InitNew (char *mapname, bool bTitleLevel)
bool wantFast;
int i;
if (!savegamerestore)
G_ClearSnapshots ();
// [RH] Mark all levels as not visited
if (!savegamerestore)
{
G_ClearSnapshots ();
P_RemoveDefereds ();
// [RH] Mark all levels as not visited
for (unsigned int i = 0; i < wadlevelinfos.Size(); i++)
wadlevelinfos[i].flags = wadlevelinfos[i].flags & ~LEVEL_VISITED;
}