1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00

Integrate audio related variables (#3322)

This commit is contained in:
Yaroslav Tretyakov
2016-04-17 07:20:26 -06:00
committed by Ted John
parent e5666f214b
commit c3ba519a6e
8 changed files with 206 additions and 81 deletions

View File

@@ -2260,13 +2260,13 @@ void window_update_viewport_ride_music()
switch (viewport->zoom) {
case 0:
RCT2_GLOBAL(RCT2_ADDRESS_VOLUME_ADJUST_ZOOM, uint8) = 0;
gVolumeAdjustZoom = 0;
break;
case 1:
RCT2_GLOBAL(RCT2_ADDRESS_VOLUME_ADJUST_ZOOM, uint8) = 30;
gVolumeAdjustZoom = 30;
break;
default:
RCT2_GLOBAL(RCT2_ADDRESS_VOLUME_ADJUST_ZOOM, uint8) = 60;
gVolumeAdjustZoom = 60;
break;
}
break;