Change casting SFX volume when the SFX volume slider is changed. Release Build 8134.
This commit is contained in:
parent
122e3ecffd
commit
f5435e12db
@ -339,6 +339,11 @@ bool AiL::OnUserUpdate(float fElapsedTime){
|
|||||||
lastMouseMovement=0.f;
|
lastMouseMovement=0.f;
|
||||||
lastMousePos=GetMousePos();
|
lastMousePos=GetMousePos();
|
||||||
}else lastMouseMovement+=fElapsedTime;
|
}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()){
|
if(!GamePaused()){
|
||||||
GameState::STATE->OnUserUpdate(this);
|
GameState::STATE->OnUserUpdate(this);
|
||||||
}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 8131
|
#define VERSION_BUILD 8134
|
||||||
|
|
||||||
#define stringify(a) stringify_(a)
|
#define stringify(a) stringify_(a)
|
||||||
#define stringify_(a) #a
|
#define stringify_(a) #a
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user