- Fixed: M_VerifyNightmare must use the selected skill level to start the

game, not always 4.


SVN r592 (trunk)
This commit is contained in:
Christoph Oelckers 2007-12-10 08:21:25 +00:00
parent b8827b1b86
commit 7d63937d7d
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,7 @@
December 10, 2007 (Changes by Graf Zahl)
- Fixed: M_VerifyNightmare must use the selected skill level to start the
game, not always 4.
December 9, 2007 (Changes by Graf Zahl)
- Fixed: There was no working means to pass 'no state' to A_Chase.
Now 0 or an empty string will do that.

View file

@ -1723,12 +1723,14 @@ void M_DrawEpisode ()
}
}
static int confirmskill;
void M_VerifyNightmare (int ch)
{
if (ch != 'y')
return;
G_DeferedInitNew (EpisodeMaps[epi], 4);
G_DeferedInitNew (EpisodeMaps[epi], confirmskill);
if (gamestate == GS_FULLCONSOLE)
{
gamestate = GS_HIDECONSOLE;
@ -1744,6 +1746,7 @@ void M_ChooseSkill (int choice)
const char *msg = AllSkills[choice].MustConfirmText;
if (*msg==0) msg = GStrings("NIGHTMARE");
if (*msg=='$') msg = GStrings(msg+1);
confirmskill = choice;
M_StartMessage (msg, M_VerifyNightmare, true);
return;
}