- 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:
parent
de1e7661eb
commit
6e0e2b2457
2 changed files with 57 additions and 237 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue