mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 22:11:43 +00:00
- fixed: Opening a non-existent menu left the engine in an invalid state.
This commit is contained in:
parent
3dcb05e5d2
commit
7642c2cdaa
1 changed files with 1 additions and 0 deletions
|
@ -458,6 +458,7 @@ void M_SetMenu(FName menu, int param)
|
|||
}
|
||||
}
|
||||
Printf("Attempting to open menu of unknown type '%s'\n", menu.GetChars());
|
||||
M_ClearMenus();
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
|
Loading…
Reference in a new issue