mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-27 02:41:34 +00:00
Disabled ripples until we can properly trigger them from the new character controller.
This commit is contained in:
parent
6cceb04adf
commit
427152c518
1 changed files with 1 additions and 2 deletions
|
@ -393,10 +393,9 @@ void Water::update(float dt, Ogre::Vector3 player)
|
||||||
|
|
||||||
mRendering->getSkyManager ()->setGlareEnabled (!mIsUnderwater);
|
mRendering->getSkyManager ()->setGlareEnabled (!mIsUnderwater);
|
||||||
|
|
||||||
/// \todo player.y is the scene node position (which is above the head) and not the feet position
|
|
||||||
//if (player.y <= mTop)
|
//if (player.y <= mTop)
|
||||||
{
|
{
|
||||||
mSimulation->addImpulse(Ogre::Vector2(player.x, player.z));
|
//mSimulation->addImpulse(Ogre::Vector2(player.x, player.z));
|
||||||
}
|
}
|
||||||
mSimulation->update(dt, Ogre::Vector2(player.x, player.z));
|
mSimulation->update(dt, Ogre::Vector2(player.x, player.z));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue