mirror of
https://github.com/OpenMW/openmw.git
synced 2025-05-28 12:41:34 +00:00
Rotate blizzard particles
This commit is contained in:
parent
4793b71eb3
commit
99ab08eaef
1 changed files with 1 additions and 1 deletions
|
@ -537,7 +537,7 @@ namespace MWRender
|
|||
osg::Quat quat;
|
||||
quat.makeRotate(MWWorld::Weather::defaultDirection(), mStormParticleDirection);
|
||||
// Morrowind deliberately rotates the blizzard mesh, so so should we.
|
||||
if (mCurrentParticleEffect == Settings::Manager::getString("weatherblizzard", "Models"))
|
||||
if (mCurrentParticleEffect == "meshes\\blizzard.nif")
|
||||
quat.makeRotate(osg::Vec3f(-1, 0, 0), mStormParticleDirection);
|
||||
mParticleNode->setAttitude(quat);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue