mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-13 07:57:52 +00:00
- Fixed: Starting a new game didn't remove the deferred scripts.
SVN r337 (trunk)
This commit is contained in:
parent
3deb4e631e
commit
adf6579b37
2 changed files with 7 additions and 4 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
September 23, 2006 (Changes by Graf Zahl)
|
||||||
|
- Fixed: Starting a new game didn't remove the deferred scripts.
|
||||||
|
|
||||||
September 22, 2006
|
September 22, 2006
|
||||||
- Fixed: FNodeBuilder::ShoveSegBehind needs to check that the result from
|
- Fixed: FNodeBuilder::ShoveSegBehind needs to check that the result from
|
||||||
Heuristic is positive, not just non-zero.
|
Heuristic is positive, not just non-zero.
|
||||||
|
|
|
@ -1403,12 +1403,12 @@ void G_InitNew (char *mapname, bool bTitleLevel)
|
||||||
bool wantFast;
|
bool wantFast;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (!savegamerestore)
|
|
||||||
G_ClearSnapshots ();
|
|
||||||
|
|
||||||
// [RH] Mark all levels as not visited
|
|
||||||
if (!savegamerestore)
|
if (!savegamerestore)
|
||||||
{
|
{
|
||||||
|
G_ClearSnapshots ();
|
||||||
|
P_RemoveDefereds ();
|
||||||
|
|
||||||
|
// [RH] Mark all levels as not visited
|
||||||
for (unsigned int i = 0; i < wadlevelinfos.Size(); i++)
|
for (unsigned int i = 0; i < wadlevelinfos.Size(); i++)
|
||||||
wadlevelinfos[i].flags = wadlevelinfos[i].flags & ~LEVEL_VISITED;
|
wadlevelinfos[i].flags = wadlevelinfos[i].flags & ~LEVEL_VISITED;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue