ref: 39494b5a451472db3b613446a5b1c8c2b0d92cf6
parent: aa35a71bd05536f82ce23887f7e84decc7f850a7
author: Simon Howard <[email protected]>
date: Fri May 14 14:42:32 EDT 2010
Don't grab the mouse when the demo sequence advances. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1935
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -85,6 +85,7 @@
};
extern void M_QuitDOOM();
+extern boolean advancedemo;
// SDL video driver name
@@ -228,7 +229,7 @@
// only grab mouse when playing levels (but not demos)
- return (gamestate == GS_LEVEL) && !demoplayback;
+ return (gamestate == GS_LEVEL) && !demoplayback && !advancedemo;
#endif /* #ifndef _WIN32_WCE */
}