|
|
@ -989,8 +989,7 @@ void CharacterController::handleTextKey(const std::string &groupname, SceneUtil:
|
|
|
|
if(!sound.empty())
|
|
|
|
if(!sound.empty())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
MWBase::SoundManager *sndMgr = MWBase::Environment::get().getSoundManager();
|
|
|
|
MWBase::SoundManager *sndMgr = MWBase::Environment::get().getSoundManager();
|
|
|
|
// NB: landing sound is not played for NPCs here
|
|
|
|
if (soundgen == "left" || soundgen == "right")
|
|
|
|
if(soundgen == "left" || soundgen == "right" || soundgen == "land")
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
sndMgr->playSound3D(mPtr, sound, volume, pitch, MWSound::Type::Foot,
|
|
|
|
sndMgr->playSound3D(mPtr, sound, volume, pitch, MWSound::Type::Foot,
|
|
|
|
MWSound::PlayMode::NoPlayerLocal);
|
|
|
|
MWSound::PlayMode::NoPlayerLocal);
|
|
|
|