Audio casting sound volume did not respect SFX option setting.
This commit is contained in:
parent
25654fc0da
commit
48ce0c6cd9
@ -326,7 +326,7 @@ void Player::Update(float fElapsedTime){
|
|||||||
|
|
||||||
if(state==State::CASTING){
|
if(state==State::CASTING){
|
||||||
if(!Audio::Engine().IsPlaying(cooldownSoundInstance)){
|
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);
|
Audio::Engine().Play(cooldownSoundInstance,true);
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
|
@ -39,7 +39,7 @@ All rights reserved.
|
|||||||
#define VERSION_MAJOR 0
|
#define VERSION_MAJOR 0
|
||||||
#define VERSION_MINOR 5
|
#define VERSION_MINOR 5
|
||||||
#define VERSION_PATCH 1
|
#define VERSION_PATCH 1
|
||||||
#define VERSION_BUILD 8114
|
#define VERSION_BUILD 8115
|
||||||
|
|
||||||
#define stringify(a) stringify_(a)
|
#define stringify(a) stringify_(a)
|
||||||
#define stringify_(a) #a
|
#define stringify_(a) #a
|
||||||
|
@ -2,5 +2,5 @@ Audio
|
|||||||
{
|
{
|
||||||
Environmental Audio Activation Range = 400
|
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