summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/i_video.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i_video.c b/src/i_video.c
index 6936532d..bc3f17cf 100644
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -85,6 +85,7 @@ static screen_mode_t *screen_modes_corrected[] = {
};
extern void M_QuitDOOM();
+extern boolean advancedemo;
// SDL video driver name
@@ -228,7 +229,7 @@ static boolean MouseShouldBeGrabbed()
// only grab mouse when playing levels (but not demos)
- return (gamestate == GS_LEVEL) && !demoplayback;
+ return (gamestate == GS_LEVEL) && !demoplayback && !advancedemo;
#endif /* #ifndef _WIN32_WCE */
}