Description: turn off mouse cursor
Madomber 0.2.4 and previous versions leave the mouse cursor visible
during game play. It's distracting and probably a mistake since the
upstream screenshots don't show any mouse cursor.
Bug-Debian: http://bugs.debian.org/203828
Author: John Lightsey <john@nixnuts.net>
Reviewed-by: Christian T. Steigies <cts@debian.org>
Last-Update: 2003-08-01
--- a/madbomber.c
+++ b/madbomber.c
@@ -1382,7 +1382,8 @@
}
#endif
-
+ /* Turn off the mouse cursor */
+ SDL_ShowCursor(SDL_DISABLE);
/* Draw background screen: */
@@ -2389,7 +2390,7 @@
if (use_sound == 1)
Mix_HaltMusic();
#endif
-
+ SDL_ShowCursor(SDL_ENABLE);
return(quit);
}