diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-12 11:05:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-12 11:05:49 +0200 |
commit | c593599fc5e929ee80c1c0d4e825381a50b6fcd0 (patch) | |
tree | 5ff49901ab93aa3546c5aa5314eaf1cea7c22c2e /src/vehicles/Floater.cpp | |
parent | Merge pull request #388 from ShFil119/audio16 (diff) | |
parent | CObject fixes (diff) | |
download | re3-c593599fc5e929ee80c1c0d4e825381a50b6fcd0.tar re3-c593599fc5e929ee80c1c0d4e825381a50b6fcd0.tar.gz re3-c593599fc5e929ee80c1c0d4e825381a50b6fcd0.tar.bz2 re3-c593599fc5e929ee80c1c0d4e825381a50b6fcd0.tar.lz re3-c593599fc5e929ee80c1c0d4e825381a50b6fcd0.tar.xz re3-c593599fc5e929ee80c1c0d4e825381a50b6fcd0.tar.zst re3-c593599fc5e929ee80c1c0d4e825381a50b6fcd0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/vehicles/Floater.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Floater.cpp b/src/vehicles/Floater.cpp index 6b8bf755..62d55925 100644 --- a/src/vehicles/Floater.cpp +++ b/src/vehicles/Floater.cpp @@ -26,7 +26,7 @@ cBuoyancy::ProcessBuoyancy(CPhysical *phys, float buoyancy, CVector *point, CVec { m_numSteps = 2.0f; - if(!CWaterLevel::GetWaterLevel(phys->GetPosition(), &m_waterlevel, phys->m_flagD8)) + if(!CWaterLevel::GetWaterLevel(phys->GetPosition(), &m_waterlevel, phys->bTouchingWater)) return false; m_matrix = phys->GetMatrix(); |