Don't warp mouse if DEBUGGINGAIDS is enabled; this'll make us ignore events if

they happen to exactly go the the center of the screen, but not that big of a
deal.



git-svn-id: https://svn.eduke32.com/eduke32@1847 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
plagman 2011-03-17 01:27:24 +00:00
parent bdc993bb3c
commit 9a51ea8b95

View file

@ -1774,7 +1774,9 @@ int32_t handleevents(void)
mousex += ev.motion.xrel;
mousey += ev.motion.yrel;
#ifndef DEBUGGINGAIDS
SDL_WarpMouse(xdim>>1, ydim>>1);
#endif
}
break;