diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-12 11:08:30 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-12 11:08:30 +0200 |
commit | cbb298c8dd0ff23007ba403157a47da1ddf134d5 (patch) | |
tree | 6f069af03c21d9af52cdcebd6fef7117454394d1 /src/peds/Ped.cpp | |
parent | Merge branch 'master' into garages_dev (diff) | |
parent | Merge pull request #402 from Nick007J/master (diff) | |
download | re3-cbb298c8dd0ff23007ba403157a47da1ddf134d5.tar re3-cbb298c8dd0ff23007ba403157a47da1ddf134d5.tar.gz re3-cbb298c8dd0ff23007ba403157a47da1ddf134d5.tar.bz2 re3-cbb298c8dd0ff23007ba403157a47da1ddf134d5.tar.lz re3-cbb298c8dd0ff23007ba403157a47da1ddf134d5.tar.xz re3-cbb298c8dd0ff23007ba403157a47da1ddf134d5.tar.zst re3-cbb298c8dd0ff23007ba403157a47da1ddf134d5.zip |
Diffstat (limited to 'src/peds/Ped.cpp')
-rw-r--r-- | src/peds/Ped.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index 2cd942f9..687c9906 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -15027,7 +15027,7 @@ CPed::ProcessBuoyancy(void) #endif if (mod_Buoyancy.ProcessBuoyancy(this, GRAVITY * m_fMass * buoyancyLevel, &buoyancyPoint, &buoyancyImpulse)) { - m_flagD8 = true; + bTouchingWater = true; CEntity *entity; CColPoint point; if (CWorld::ProcessVerticalLine(GetPosition(), GetPosition().z - 3.0f, point, entity, false, true, false, false, false, false, false) @@ -15093,7 +15093,7 @@ CPed::ProcessBuoyancy(void) } else return; } else - m_flagD8 = false; + bTouchingWater = false; if (nGenerateWaterCircles && CTimer::GetTimeInMilliseconds() >= nGenerateWaterCircles) { CVector pos = GetPosition(); |