forked from teamnwah/openmw-tes3coop
Use the footstep volume slider for jump landing sounds (Fixes #1968)
This commit is contained in:
parent
95378aa6ac
commit
db6b04d127
1 changed files with 1 additions and 1 deletions
|
@ -728,7 +728,7 @@ void Animation::handleTextKey(AnimState &state, const std::string &groupname, co
|
|||
{
|
||||
MWBase::SoundManager *sndMgr = MWBase::Environment::get().getSoundManager();
|
||||
MWBase::SoundManager::PlayType type = MWBase::SoundManager::Play_TypeSfx;
|
||||
if(evt.compare(10, evt.size()-10, "left") == 0 || evt.compare(10, evt.size()-10, "right") == 0)
|
||||
if(evt.compare(10, evt.size()-10, "left") == 0 || evt.compare(10, evt.size()-10, "right") == 0 || evt.compare(10, evt.size()-10, "land") == 0)
|
||||
type = MWBase::SoundManager::Play_TypeFoot;
|
||||
sndMgr->playSound3D(mPtr, sound, volume, pitch, type);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue