mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-26 16:24:35 +01:00
Use TrackCoordinates
This commit is contained in:
@@ -2729,7 +2729,7 @@ money32 sub_6CA162(int rideIndex, int trackType, int trackDirection, int edxRS16
|
||||
RCT2_GLOBAL(0x00F440C7, uint16) = y;
|
||||
z += ride_type_has_flag(ride->type, RIDE_TYPE_FLAG_FLAT_RIDE) ?
|
||||
RCT2_GLOBAL(0x009972BD + (trackType * 10), uint16) :
|
||||
RCT2_GLOBAL(0x009968BD + (trackType * 10), uint16);
|
||||
TrackCoordinates[trackType].z_begin;
|
||||
|
||||
RCT2_GLOBAL(0x00F440C9, uint16) = z;
|
||||
RCT2_GLOBAL(0x00F440CB, uint8) = trackDirection;
|
||||
|
||||
Reference in New Issue
Block a user