diff --git a/agb/src/display/tiled/infinite_scrolled_map.rs b/agb/src/display/tiled/infinite_scrolled_map.rs index 876d3abe..4e85ad3d 100644 --- a/agb/src/display/tiled/infinite_scrolled_map.rs +++ b/agb/src/display/tiled/infinite_scrolled_map.rs @@ -330,7 +330,7 @@ impl<'a> InfiniteScrolledMap<'a> { new_tile_x } else { // moving to the right, so need to update the right most position - new_tile_x + 30 // TODO is this correct? + new_tile_x + 31 // TODO is this correct? }; Rect::new( @@ -355,7 +355,7 @@ impl<'a> InfiniteScrolledMap<'a> { new_tile_y } else { // moving down so need to update the bottom - new_tile_y + 20 // TODO is this correct? + new_tile_y + 21 // TODO is this correct? }; Rect::new(