|
|
@ -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{ |
|
|
|