From bf5b0e69fa0694dc4b4b2c0dbb82144b2e390630 Mon Sep 17 00:00:00 2001 From: Ted John Date: Mon, 3 Oct 2016 19:35:56 +0100 Subject: [PATCH] Fix sub_98199C_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 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()); }