*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1240 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+1
-1
@@ -456,6 +456,7 @@ int main(int argc, char **argv)
|
||||
|
||||
case SDL_MOUSEMOTION:
|
||||
if(ignore) { ignore--; break; }
|
||||
#ifndef WIN32
|
||||
if(!(screen->flags&SDL_FULLSCREEN) && grabmouse)
|
||||
{
|
||||
#ifdef __APPLE__
|
||||
@@ -464,7 +465,6 @@ int main(int argc, char **argv)
|
||||
if(event.motion.x == screen->w / 2 && event.motion.y == screen->h / 2) break;
|
||||
SDL_WarpMouse(screen->w / 2, screen->h / 2);
|
||||
}
|
||||
#ifndef WIN32
|
||||
if((screen->flags&SDL_FULLSCREEN) || grabmouse)
|
||||
#endif
|
||||
mousemove(event.motion.xrel, event.motion.yrel);
|
||||
|
||||
Reference in New Issue
Block a user