mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-20 23:09:42 +00:00
Merge branch 'hardcodedpopsicles' into 'master'
Rotate blizzard particles See merge request OpenMW/openmw!2872
This commit is contained in:
commit
086e2180fa
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