ref: f58bd7dfbba6dfe43d910ac18ef52be6f3ad693a
parent: 78c28930f3c185f25d51d74560c1d367faadf52f
author: levesqu8 <levesqu8@msu.edu>
date: Sun Sep 24 09:22:43 EDT 2017
fixed issue where in fullscreen mode with multi monitor setups where the mouse if moved quick enough could leave the gave for a bit
--- a/rott/rt_main.c
+++ b/rott/rt_main.c
@@ -456,7 +456,7 @@
}
#endif
}
-
+ SDL_WM_GrabInput( SDL_GRAB_ON );
GameLoop();
@@ -1145,6 +1145,7 @@
while (1)
{
+ SDL_WarpMouse(iGLOBAL_SCREENWIDTH<<2, iGLOBAL_SCREENHEIGHT<<2);
if ( playstate == ex_battledone )
{
while( damagecount > 0 )
--
⑨