Skip to content
Snippets Groups Projects
Commit 5c16e334 authored by LJ Sonic's avatar LJ Sonic
Browse files

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

Fix mouse being grabbed in intermission and cutscenes

See merge request !891
parents df692645 e4f2c1dc
No related branches found
No related tags found
2 merge requests!985Shaders next merge,!891Fix mouse being grabbed in intermission and cutscenes
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment