- fixed: Opening a non-existent menu left the engine in an invalid state.

This commit is contained in:
Christoph Oelckers 2016-05-18 12:02:54 +02:00
parent 3dcb05e5d2
commit 7642c2cdaa

View file

@ -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();
}
//=============================================================================