Commit 4fc0c6f3 authored by Dino Bollinger's avatar Dino Bollinger

Duke3D: Re-enable exiting main menu while demo is playing.

Fixes #82
parent d0d89292
......@@ -518,6 +518,7 @@ RECHECK:
if (foundemo == 0)
{
ud.recstat = 0;
g_player[myconnectindex].ps->gm &= ~MODE_DEMO;
if (g_whichDemo > 1)
{
......
......@@ -4849,7 +4849,7 @@ void Menu_Open(uint8_t playerID)
void Menu_Close(uint8_t playerID)
{
auto & gm = g_player[playerID].ps->gm;
if (gm & MODE_GAME)
if (gm & MODE_GAME || gm & MODE_DEMO)
{
if (gm & MODE_MENU)
I_ClearAllInput();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment