mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:23:51 +00:00
Ripples fix
This commit is contained in:
parent
93ffdb427c
commit
37a85e31d6
1 changed files with 1 additions and 0 deletions
|
@ -113,6 +113,7 @@ void RippleSimulation::update(float dt, Ogre::Vector2 position)
|
||||||
position.z = 0; // Z is set by the Scene Node
|
position.z = 0; // Z is set by the Scene Node
|
||||||
rotSpeed = mRippleRotSpeed;
|
rotSpeed = mRippleRotSpeed;
|
||||||
rotation = Ogre::Radian(Ogre::Math::RangeRandom(-Ogre::Math::PI, Ogre::Math::PI));
|
rotation = Ogre::Radian(Ogre::Math::RangeRandom(-Ogre::Math::PI, Ogre::Math::PI));
|
||||||
|
created->setDimensions(mParticleSystem->getDefaultWidth(), mParticleSystem->getDefaultHeight());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue