Intermission script's noautostartmap keyword is no longer ignored

https://forum.zdoom.org/viewtopic.php?t=57799
This commit is contained in:
alexey.lysiuk 2017-09-10 11:01:17 +03:00
parent 5ab0f34aca
commit 830b68acbc

View file

@ -490,7 +490,7 @@ class StatusScreen abstract play version("2.5")
CurState = ShowNextLoc;
acceleratestage = 0;
cnt = SHOWNEXTLOCDELAY * Thinker.TICRATE;
bg.LoadBackground(true);
noautostartmap = bg.LoadBackground(true);
}
//====================================================================
@ -693,7 +693,6 @@ class StatusScreen abstract play version("2.5")
virtual void Start (wbstartstruct wbstartstruct)
{
noautostartmap = false;
wbs = wbstartstruct;
acceleratestage = 0;
cnt = bcnt = 0;
@ -717,7 +716,7 @@ class StatusScreen abstract play version("2.5")
lnametexts[1] = wbstartstruct.nextname;
bg = InterBackground.Create(wbs);
bg.LoadBackground(false);
noautostartmap = bg.LoadBackground(false);
initStats();
}