fixed moving tile selection cursor
[rocksndiamonds.git] / src / events.c
index 846527641a28506f152f75fd380bc3ff52bc4252..5dabff98e944b25fb815cf470f6e58c58b1011b2 100644 (file)
@@ -2187,7 +2187,7 @@ static void HandleTileCursor(int dx, int dy, int button)
                         (dx < 0 ? MB_LEFTBUTTON :
                          dx > 0 ? MB_RIGHTBUTTON : MB_RELEASED));
   }
-  else
+  else if (!tile_cursor.moving)
   {
     int old_xpos = tile_cursor.xpos;
     int old_ypos = tile_cursor.ypos;