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:
committed by
Ted John
parent
e5666f214b
commit
c3ba519a6e
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user