From 3cbf06c886ca778146ab84b7065ccd456565be8f Mon Sep 17 00:00:00 2001 From: Ted John Date: Mon, 3 Oct 2016 21:40:13 +0100 Subject: [PATCH] Fix sub_98197C_rotated --- src/paint/paint_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/paint/paint_helpers.c b/src/paint/paint_helpers.c index e5cc3a3c4d..bb51862499 100644 --- a/src/paint/paint_helpers.c +++ b/src/paint/paint_helpers.c @@ -41,7 +41,7 @@ paint_struct * sub_98197C_rotated( sint16 bound_box_offset_x, sint16 bound_box_offset_y, sint16 bound_box_offset_z) { if (direction & 1) { - return sub_98197C(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_98197C(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_98197C(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()); }