Audio casting sound volume did not respect SFX option setting.

mac-build
sigonasr2 9 months ago
parent c8b6273b48
commit 73819416cc
  1. 2
      Adventures in Lestoria/Player.cpp
  2. 2
      Adventures in Lestoria/Version.h
  3. 2
      Adventures in Lestoria/assets/config/audio/audio.txt
  4. BIN
      x64/Release/Adventures in Lestoria.exe

@ -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%
}
Loading…
Cancel
Save