Merge branch 'fix-intermission-mouse' into 'next'

Fix mouse being grabbed in intermission and cutscenes

See merge request STJr/SRB2!891
This commit is contained in:
LJ Sonic 2020-04-28 04:25:32 -04:00
commit 5c16e33432

View file

@ -372,7 +372,9 @@ static boolean IgnoreMouse(void)
return false;
if (menuactive)
return !M_MouseNeeded();
if (paused || con_destlines || chat_on || gamestate != GS_LEVEL)
if (paused || con_destlines || chat_on)
return true;
if (gamestate != GS_LEVEL && gamestate != GS_INTERMISSION && gamestate != GS_CUTSCENE)
return true;
return false;
}