- replaced all subclasses of DMessageBoxMenu with a callback option and lambdas to reduce the amount of menu code to port over. Now this is only one class.

This commit is contained in:
Christoph Oelckers 2017-02-18 22:07:28 +01:00
commit 6e0e2b2457
2 changed files with 57 additions and 237 deletions

View file

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