Browse Source

Merge pull request #490 from Azaezel/buoyancy

Buoyancy
SilentMike 11 years ago
parent
commit
0e1ed4683b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Engine/source/T3D/player.cpp

+ 1 - 1
Engine/source/T3D/player.cpp

@@ -3114,7 +3114,7 @@ void Player::updateMove(const Move* move)
          if ( currHeight + mVelocity.z * TickSec * C > mLiquidHeight )
          if ( currHeight + mVelocity.z * TickSec * C > mLiquidHeight )
             buoyancyForce *= M;
             buoyancyForce *= M;
                   
                   
-         //mVelocity.z -= buoyancyForce;
+         mVelocity.z -= buoyancyForce;
       }
       }
    }
    }