*** 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:
Lee Salzman
2007-08-13 08:49:28 +00:00
parent 85d9abb6b6
commit e6cc99ff87
+1 -1
View File
@@ -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);