Audio casting sound volume did not respect SFX option setting.

This commit is contained in:
sigonasr2 2024-03-12 20:00:20 -05:00
parent c8b6273b48
commit 73819416cc
4 changed files with 3 additions and 3 deletions

View File

@ -326,7 +326,7 @@ void Player::Update(float fElapsedTime){
if(state==State::CASTING){
if(!Audio::Engine().IsPlaying(cooldownSoundInstance)){
Audio::Engine().SetVolume(cooldownSoundInstance,"Audio.Casting Sound Volume"_F/100.f);
Audio::Engine().SetVolume(cooldownSoundInstance,Audio::GetCalculatedSFXVolume("Audio.Casting Sound Volume"_F/100.f));
Audio::Engine().Play(cooldownSoundInstance,true);
}
}else{

View File

@ -39,7 +39,7 @@ All rights reserved.
#define VERSION_MAJOR 0
#define VERSION_MINOR 5
#define VERSION_PATCH 1
#define VERSION_BUILD 8114
#define VERSION_BUILD 8115
#define stringify(a) stringify_(a)
#define stringify_(a) #a

View File

@ -2,5 +2,5 @@ Audio
{
Environmental Audio Activation Range = 400
Casting Sound Volume = 70%
Casting Sound Volume = 60%
}