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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user