mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47:17 +02:00
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
This commit is contained in:
@@ -357,7 +357,7 @@ void UpdateFireAmbient(void)
|
|||||||
|
|
||||||
if (FindVisibleSmokeEffect(BURNABLEGAS_SMOKE_EFFECT))
|
if (FindVisibleSmokeEffect(BURNABLEGAS_SMOKE_EFFECT))
|
||||||
{
|
{
|
||||||
gubAmbientFutureFireVolume = gGameExternalOptions.ubVolumeTA;
|
gubAmbientFutureFireVolume = CalculateSoundEffectsVolume(gGameExternalOptions.ubVolumeTA);
|
||||||
|
|
||||||
if (guiAmbientFire == NO_SAMPLE)
|
if (guiAmbientFire == NO_SAMPLE)
|
||||||
{
|
{
|
||||||
@@ -721,7 +721,7 @@ void SetSSA(void)
|
|||||||
// start sound
|
// start sound
|
||||||
memset(&spParms, 0xff, sizeof(SOUNDPARMS));
|
memset(&spParms, 0xff, sizeof(SOUNDPARMS));
|
||||||
//spParms.uiVolume = CalculateSoundEffectsVolume( LOWVOLUME );
|
//spParms.uiVolume = CalculateSoundEffectsVolume( LOWVOLUME );
|
||||||
spParms.uiVolume = gGameExternalOptions.ubVolumeSSA; // default is LOWVOLUME
|
spParms.uiVolume = CalculateSoundEffectsVolume(gGameExternalOptions.ubVolumeSSA);
|
||||||
spParms.uiLoop = 0;
|
spParms.uiLoop = 0;
|
||||||
spParms.uiPriority = GROUP_AMBIENT;
|
spParms.uiPriority = GROUP_AMBIENT;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user