From 325bb3e2daa4f61cb099fd9f1d83d5caa12d5f8b Mon Sep 17 00:00:00 2001 From: rwjuk Date: Tue, 6 Jun 2017 01:16:44 +0100 Subject: [PATCH] Name sub_88ABA4() --- src/openrct2/ride/gentle/crooked_house.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/openrct2/ride/gentle/crooked_house.c b/src/openrct2/ride/gentle/crooked_house.c index 82c624f54c..651b2872cb 100644 --- a/src/openrct2/ride/gentle/crooked_house.c +++ b/src/openrct2/ride/gentle/crooked_house.c @@ -43,7 +43,7 @@ rct_crooked_house_bound_box crooked_house_data[] = { * @param (ebx) image_id * @param (edx) height */ -static void sub_88ABA4(uint8 direction, uint8 x_offset, uint8 y_offset, uint32 segment, sint32 height) { +static void paint_crooked_house_structure(uint8 direction, uint8 x_offset, uint8 y_offset, uint32 segment, sint32 height) { rct_map_element *original_map_element = g_currently_drawn_item; rct_ride *ride = get_ride(original_map_element->properties.track.ride_index); @@ -80,10 +80,10 @@ static void paint_crooked_house(uint8 rideIndex, uint8 trackSequence, uint8 dire track_paint_util_paint_fences(edges, position, mapElement, ride, gTrackColours[SCHEME_MISC], height, fenceSpritesRope, get_current_rotation()); switch(trackSequence) { - case 3: sub_88ABA4(direction, 32, 224, 0, height); break; + case 3: paint_crooked_house_structure(direction, 32, 224, 0, height); break; // case 5: sub_88ABA4(direction, 0, 224, 1, height); break; - case 6: sub_88ABA4(direction, 224, 32, 4, height); break; - case 7: sub_88ABA4(direction, 224, 224, 2, height); break; + case 6: paint_crooked_house_structure(direction, 224, 32, 4, height); break; + case 7: paint_crooked_house_structure(direction, 224, 224, 2, height); break; // case 8: sub_88ABA4(rideIndex, 224, 0, 3, height); break; }