1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 00:04:43 +01:00

Fix #4462: Multiple Corkscrew RC track sprites missing in build window

rct_trackdefinition.special should have been signed.
This commit is contained in:
Ted John
2016-09-29 18:45:49 +01:00
parent b3b2f1d1a7
commit e26b2d4047
2 changed files with 5 additions and 5 deletions

View File

@@ -2252,11 +2252,11 @@ static void window_ride_construction_draw_track_piece(
y = 4112 + (y / 2);
z = 1024 + z;
short bx = ride_type_has_flag(ride->type, RIDE_TYPE_FLAG_FLAT_RIDE) ?
FlatRideTrackDefinitions[trackType].special :
TrackDefinitions[trackType].special;
short previewZOffset = ride_type_has_flag(ride->type, RIDE_TYPE_FLAG_FLAT_RIDE) ?
FlatRideTrackDefinitions[trackType].preview_z_offset :
TrackDefinitions[trackType].preview_z_offset;
z -= previewZOffset;
z -= bx;
int start_x = x;
switch (get_current_rotation()) {
case 0: