Audio casting sound volume did not respect SFX option setting.
This commit is contained in:
parent
c8b6273b48
commit
73819416cc
@ -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{
|
||||
|
||||
@ -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
|
||||
|
||||
@ -2,5 +2,5 @@ Audio
|
||||
{
|
||||
Environmental Audio Activation Range = 400
|
||||
|
||||
Casting Sound Volume = 70%
|
||||
Casting Sound Volume = 60%
|
||||
}
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user