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/Automobile.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/Automobile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp index 1c0d673e..76f06b0e 100644 --- a/src/vehicles/Automobile.cpp +++ b/src/vehicles/Automobile.cpp @@ -2814,7 +2814,7 @@ CAutomobile::ProcessBuoyancy(void) CVector impulse, point; if(mod_Buoyancy.ProcessBuoyancy(this, m_fBuoyancy, &point, &impulse)){ - m_flagD8 = true; + bTouchingWater = true; ApplyMoveForce(impulse); ApplyTurnForce(impulse, point); @@ -2899,7 +2899,7 @@ CAutomobile::ProcessBuoyancy(void) } }else{ bIsInWater = false; - m_flagD8 = false; + bTouchingWater = false; static RwRGBA splashCol = {155, 155, 185, 196}; static RwRGBA smokeCol = {255, 255, 255, 255}; |