From 39494b5a451472db3b613446a5b1c8c2b0d92cf6 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Fri, 14 May 2010 18:42:32 +0000 Subject: Don't grab the mouse when the demo sequence advances. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1935 --- src/i_video.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ } -- cgit v1.2.3