Change casting SFX volume when the SFX volume slider is changed. Release Build 8134.

mac-build
sigonasr2 9 months ago
parent 122e3ecffd
commit f5435e12db
  1. 5
      Adventures in Lestoria/AdventuresInLestoria.cpp
  2. 2
      Adventures in Lestoria/Version.h
  3. BIN
      x64/Release/Adventures in Lestoria.exe

@ -339,6 +339,11 @@ bool AiL::OnUserUpdate(float fElapsedTime){
lastMouseMovement=0.f;
lastMousePos=GetMousePos();
}else lastMouseMovement+=fElapsedTime;
if(Audio::Engine().IsPlaying(GetPlayer()->cooldownSoundInstance)){
Audio::Engine().SetVolume(GetPlayer()->cooldownSoundInstance,Audio::GetCalculatedSFXVolume("Audio.Casting Sound Volume"_F/100.f));
}
if(!GamePaused()){
GameState::STATE->OnUserUpdate(this);
}else{

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

Loading…
Cancel
Save