diff options
author | aap <aap@papnet.eu> | 2020-05-07 11:33:20 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-07 11:33:20 +0200 |
commit | 05a1d64fbbe374dabb6572bb47d9a745464633bb (patch) | |
tree | e56b03fbb2c768324a4b540645eac2dc8c5bdf08 /src/vehicles/Boat.cpp | |
parent | changed default ID ranges. old default.ide incompatible now (diff) | |
download | re3-05a1d64fbbe374dabb6572bb47d9a745464633bb.tar re3-05a1d64fbbe374dabb6572bb47d9a745464633bb.tar.gz re3-05a1d64fbbe374dabb6572bb47d9a745464633bb.tar.bz2 re3-05a1d64fbbe374dabb6572bb47d9a745464633bb.tar.lz re3-05a1d64fbbe374dabb6572bb47d9a745464633bb.tar.xz re3-05a1d64fbbe374dabb6572bb47d9a745464633bb.tar.zst re3-05a1d64fbbe374dabb6572bb47d9a745464633bb.zip |
Diffstat (limited to '')
-rw-r--r-- | src/vehicles/Boat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Boat.cpp b/src/vehicles/Boat.cpp index 2a33d68a..87b8a212 100644 --- a/src/vehicles/Boat.cpp +++ b/src/vehicles/Boat.cpp @@ -287,8 +287,8 @@ CBoat::ProcessControl(void) AddWakePoint(GetPosition()); float steerFactor = 1.0f - DotProduct(m_vecMoveSpeed, GetForward()); - if (GetModelIndex() == MI_GHOST) - steerFactor = 1.0f - DotProduct(m_vecMoveSpeed, GetForward())*0.3f; +// if (GetModelIndex() == MI_GHOST) +// steerFactor = 1.0f - DotProduct(m_vecMoveSpeed, GetForward())*0.3f; if(steerFactor < 0.0f) steerFactor = 0.0f; CVector propeller(0.0f, -pHandling->Dimension.y*m_fPropellerY, -pHandling->Dimension.z*m_fPropellerZ); |