diff options
author | saml1er <danishroar@gmail.com> | 2020-04-10 13:44:08 +0200 |
---|---|---|
committer | saml1er <danishroar@gmail.com> | 2020-04-10 13:44:08 +0200 |
commit | a8f7bf0beca5c200bc3396312f0caaceacd27f94 (patch) | |
tree | 80d37391cf0d9b74950ccaf8cf8ddf1956248066 /src/vehicles/Automobile.cpp | |
parent | fix weather init (diff) | |
download | re3-a8f7bf0beca5c200bc3396312f0caaceacd27f94.tar re3-a8f7bf0beca5c200bc3396312f0caaceacd27f94.tar.gz re3-a8f7bf0beca5c200bc3396312f0caaceacd27f94.tar.bz2 re3-a8f7bf0beca5c200bc3396312f0caaceacd27f94.tar.lz re3-a8f7bf0beca5c200bc3396312f0caaceacd27f94.tar.xz re3-a8f7bf0beca5c200bc3396312f0caaceacd27f94.tar.zst re3-a8f7bf0beca5c200bc3396312f0caaceacd27f94.zip |
Diffstat (limited to 'src/vehicles/Automobile.cpp')
-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}; |