diff --git a/src/paint/paint_helpers.c b/src/paint/paint_helpers.c index 54248b90b5..e5cc3a3c4d 100644 --- a/src/paint/paint_helpers.c +++ b/src/paint/paint_helpers.c @@ -56,7 +56,7 @@ paint_struct * sub_98199C_rotated( sint16 bound_box_offset_x, sint16 bound_box_offset_y, sint16 bound_box_offset_z) { if (direction & 1) { - return sub_98199C(image_id, x_offset, y_offset, bound_box_length_y, bound_box_length_x, bound_box_length_z, z_offset, bound_box_offset_y, bound_box_offset_x, bound_box_offset_z, get_current_rotation()); + return sub_98199C(image_id, y_offset, x_offset, bound_box_length_y, bound_box_length_x, bound_box_length_z, z_offset, bound_box_offset_y, bound_box_offset_x, bound_box_offset_z, get_current_rotation()); } else { return sub_98199C(image_id, x_offset, y_offset, bound_box_length_x, bound_box_length_y, bound_box_length_z, z_offset, bound_box_offset_x, bound_box_offset_y, bound_box_offset_z, get_current_rotation()); }