added fields to graphics info structure to store current mouse position
[rocksndiamonds.git] / src / libgame / system.c
index 488e838e8c4b82650edbcd48caee246420f1c6d8..c7270d93f77540db4e19f1bd2392db493551e3ec 100644 (file)
@@ -317,6 +317,8 @@ void InitGfxCustomArtworkInfo(void)
 void InitGfxOtherSettings(void)
 {
   gfx.cursor_mode = CURSOR_DEFAULT;
+  gfx.mouse_x = 0;
+  gfx.mouse_y = 0;
 }
 
 void InitTileCursorInfo(void)