Explorar el Código

Merge pull request #490 from Azaezel/buoyancy

Buoyancy
SilentMike hace 11 años
padre
commit
0e1ed4683b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 )
             buoyancyForce *= M;
                   
-         //mVelocity.z -= buoyancyForce;
+         mVelocity.z -= buoyancyForce;
       }
    }