From a30d8c6833826bf22a9b0487640b750a34b7daed Mon Sep 17 00:00:00 2001 From: Sevenfm Date: Mon, 9 Mar 2020 20:29:50 +0000 Subject: [PATCH] Scale tactical ambients and sector steady ambients with general effects volume. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8769 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- TileEngine/Ambient Control.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TileEngine/Ambient Control.cpp b/TileEngine/Ambient Control.cpp index 7523daec..df0f20e1 100644 --- a/TileEngine/Ambient Control.cpp +++ b/TileEngine/Ambient Control.cpp @@ -357,7 +357,7 @@ void UpdateFireAmbient(void) if (FindVisibleSmokeEffect(BURNABLEGAS_SMOKE_EFFECT)) { - gubAmbientFutureFireVolume = gGameExternalOptions.ubVolumeTA; + gubAmbientFutureFireVolume = CalculateSoundEffectsVolume(gGameExternalOptions.ubVolumeTA); if (guiAmbientFire == NO_SAMPLE) { @@ -721,7 +721,7 @@ void SetSSA(void) // start sound memset(&spParms, 0xff, sizeof(SOUNDPARMS)); //spParms.uiVolume = CalculateSoundEffectsVolume( LOWVOLUME ); - spParms.uiVolume = gGameExternalOptions.ubVolumeSSA; // default is LOWVOLUME + spParms.uiVolume = CalculateSoundEffectsVolume(gGameExternalOptions.ubVolumeSSA); spParms.uiLoop = 0; spParms.uiPriority = GROUP_AMBIENT;