mirror of https://github.com/OpenRCT2/OpenRCT2.git
Remove unnecessary return statements
This commit is contained in:
parent
bcfd66cbc6
commit
b6718d08d4
|
@ -443,7 +443,6 @@ extern "C"
|
|||
dest_pointer = next_dest_pointer;
|
||||
source_pointer = next_source_pointer;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
uint8* FASTCALL gfx_draw_sprite_get_palette(sint32 image_id, uint32 tertiary_colour) {
|
||||
|
|
|
@ -141,5 +141,4 @@ void gfx_draw_line_software(rct_drawpixelinfo *dpi, sint32 x1, sint32 y1, sint32
|
|||
gfx_draw_line_on_buffer(dpi, colour, y, x_start, no_pixels);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -1779,7 +1779,6 @@ static void miniature_railway_track_diag_25_deg_up(paint_session * session, uint
|
|||
|
||||
paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0);
|
||||
paint_util_set_general_support_height(session, height + 56, 0x20);
|
||||
return;
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD210 */
|
||||
|
|
|
@ -1009,7 +1009,6 @@ void game_command_remove_large_scenery(sint32* eax, sint32* ebx, sint32* ecx, si
|
|||
calculate_cost == false){
|
||||
*ebx = 0;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue