mirror of https://github.com/OpenRCT2/OpenRCT2.git
Use CoordsXY::ToTileCentre() on Ride.cpp
This commit is contained in:
parent
6f0ebfea27
commit
d9348cf562
|
@ -2899,8 +2899,8 @@ static void ride_music_update(Ride* ride)
|
|||
return;
|
||||
}
|
||||
|
||||
CoordsXYZ rideCoords{ ride->stations[0].Start.x * 32 + 16, ride->stations[0].Start.y * 32 + 16,
|
||||
ride->stations[0].Height * 8 };
|
||||
CoordsXYZ rideCoords{ ride->stations[0].Start.x * 32, ride->stations[0].Start.y * 32, ride->stations[0].Height * 8 };
|
||||
rideCoords = { rideCoords.ToTileCentre(), rideCoords.z };
|
||||
|
||||
int32_t sampleRate = 22050;
|
||||
|
||||
|
|
Loading…
Reference in New Issue