mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-20 06:53:52 +00:00
Merged pull request #1922
This commit is contained in:
commit
29f6ee30a6
2 changed files with 2 additions and 1 deletions
|
@ -94,6 +94,7 @@
|
||||||
Bug #4510: Division by zero in MWMechanics::CreatureStats::setAttribute
|
Bug #4510: Division by zero in MWMechanics::CreatureStats::setAttribute
|
||||||
Bug #4519: Knockdown does not discard movement in the 1st-person mode
|
Bug #4519: Knockdown does not discard movement in the 1st-person mode
|
||||||
Bug #4531: Movement does not reset idle animations
|
Bug #4531: Movement does not reset idle animations
|
||||||
|
Bug #4532: Underwater sfx isn't tied to 3rd person camera
|
||||||
Bug #4539: Paper Doll is affected by GUI scaling
|
Bug #4539: Paper Doll is affected by GUI scaling
|
||||||
Bug #4543: Picking cursed items through inventory (menumode) makes it disappear
|
Bug #4543: Picking cursed items through inventory (menumode) makes it disappear
|
||||||
Bug #4545: Creatures flee from werewolves
|
Bug #4545: Creatures flee from werewolves
|
||||||
|
|
|
@ -1789,7 +1789,7 @@ namespace MWWorld
|
||||||
osg::Vec3f forward = listenerOrient * osg::Vec3f(0,1,0);
|
osg::Vec3f forward = listenerOrient * osg::Vec3f(0,1,0);
|
||||||
osg::Vec3f up = listenerOrient * osg::Vec3f(0,0,1);
|
osg::Vec3f up = listenerOrient * osg::Vec3f(0,0,1);
|
||||||
|
|
||||||
bool underwater = isUnderwater(getPlayerPtr().getCell(), listenerPos);
|
bool underwater = isUnderwater(getPlayerPtr().getCell(), mRendering->getCameraPosition());
|
||||||
|
|
||||||
MWBase::Environment::get().getSoundManager()->setListenerPosDir(listenerPos, forward, up, underwater);
|
MWBase::Environment::get().getSoundManager()->setListenerPosDir(listenerPos, forward, up, underwater);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue