diff options
author | Simon Howard | 2010-05-14 18:42:32 +0000 |
---|---|---|
committer | Simon Howard | 2010-05-14 18:42:32 +0000 |
commit | 39494b5a451472db3b613446a5b1c8c2b0d92cf6 (patch) | |
tree | 35b9c79d9ad588c02f5c07707ae60b1cd5d287f0 | |
parent | aa35a71bd05536f82ce23887f7e84decc7f850a7 (diff) | |
download | chocolate-doom-39494b5a451472db3b613446a5b1c8c2b0d92cf6.tar.gz chocolate-doom-39494b5a451472db3b613446a5b1c8c2b0d92cf6.tar.bz2 chocolate-doom-39494b5a451472db3b613446a5b1c8c2b0d92cf6.zip |
Don't grab the mouse when the demo sequence advances.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1935
-rw-r--r-- | src/i_video.c | 3 |
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 */ } |