diff --git a/Adventures in Lestoria/AdventuresInLestoria.cpp b/Adventures in Lestoria/AdventuresInLestoria.cpp index fa9e8c0b..4876af59 100644 --- a/Adventures in Lestoria/AdventuresInLestoria.cpp +++ b/Adventures in Lestoria/AdventuresInLestoria.cpp @@ -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{ diff --git a/Adventures in Lestoria/Version.h b/Adventures in Lestoria/Version.h index 63e5f577..500ba9ed 100644 --- a/Adventures in Lestoria/Version.h +++ b/Adventures in Lestoria/Version.h @@ -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 diff --git a/x64/Release/Adventures in Lestoria.exe b/x64/Release/Adventures in Lestoria.exe index 574b6754..78dbde3b 100644 Binary files a/x64/Release/Adventures in Lestoria.exe and b/x64/Release/Adventures in Lestoria.exe differ