Restored EndGameMenu as a pseudo-class

Fixes the following error: Attempting to open menu of unknown type 'EndGameMenu'
At least Adventures of Square is using this class in main menu
This commit is contained in:
alexey.lysiuk 2017-02-23 10:20:02 +02:00
commit 91f8f5b556
3 changed files with 22 additions and 11 deletions

View file

@ -411,6 +411,11 @@ void M_SetMenu(FName menu, int param)
C_DoCommand("menu_quit");
return;
case NAME_EndGameMenu:
// The separate menu class no longer exists but the name still needs support for existing mods.
void ActivateEndGameMenu();
ActivateEndGameMenu();
return;
}
// End of special checks