- Fixed: menu_endgame showed no text during a netgame, nor did it block you from ending a netgame.

SVN r3791 (trunk)
This commit is contained in:
Randy Heit 2012-07-27 02:35:00 +00:00
parent 97372c9c05
commit 56aeb85eee

View file

@ -466,19 +466,7 @@ IMPLEMENT_CLASS(DEndGameMenu)
DEndGameMenu::DEndGameMenu(bool playsound)
{
int messageindex = gametic % gameinfo.quitmessages.Size();
FString EndString = gameinfo.quitmessages[messageindex];
if (netgame)
{
EndString = GStrings("NETEND");
return;
}
EndString = GStrings("ENDGAME");
Init(NULL, EndString, 0, playsound);
Init(NULL, GStrings(netgame ? "NETEND" : "ENDGAME"), 0, playsound);
}
//=============================================================================
@ -492,7 +480,10 @@ void DEndGameMenu::HandleResult(bool res)
if (res)
{
M_ClearMenus ();
D_StartTitle ();
if (!netgame)
{
D_StartTitle ();
}
}
else
{