summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Boat.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-17 14:02:56 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-17 14:02:56 +0100
commit9001a64ef94b6bd18319ae97193c4deeacd1dd47 (patch)
tree757783977579b8ddffae1d57b806488d9ffe6601 /src/vehicles/Boat.cpp
parentscript until 1497 (diff)
parentMerge remote-tracking branch 'upstream/lcs' into lcs (diff)
downloadre3-9001a64ef94b6bd18319ae97193c4deeacd1dd47.tar
re3-9001a64ef94b6bd18319ae97193c4deeacd1dd47.tar.gz
re3-9001a64ef94b6bd18319ae97193c4deeacd1dd47.tar.bz2
re3-9001a64ef94b6bd18319ae97193c4deeacd1dd47.tar.lz
re3-9001a64ef94b6bd18319ae97193c4deeacd1dd47.tar.xz
re3-9001a64ef94b6bd18319ae97193c4deeacd1dd47.tar.zst
re3-9001a64ef94b6bd18319ae97193c4deeacd1dd47.zip
Diffstat (limited to 'src/vehicles/Boat.cpp')
-rw-r--r--src/vehicles/Boat.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vehicles/Boat.cpp b/src/vehicles/Boat.cpp
index 8dec0f89..e3bcf096 100644
--- a/src/vehicles/Boat.cpp
+++ b/src/vehicles/Boat.cpp
@@ -682,6 +682,7 @@ CBoat::ProcessControl(void)
}
// Spray waterdrops on screen
+ /*
if(TheCamera.GetLookingForwardFirstPerson() && FindPlayerVehicle() && FindPlayerVehicle()->IsBoat() &&
m_nDeltaVolumeUnderWater > 0 && numWaterDropOnScreen < 20){
CVector dropPos;
@@ -712,7 +713,7 @@ CBoat::ProcessControl(void)
if(CParticle::AddParticle(PARTICLE_WATERDROP, dropPos, dropDir, nil,
CGeneral::GetRandomNumberInRange(0.1f, 0.15f), dropColor, 0, 0, frm))
numWaterDropOnScreen++;
- }
+ }*/
if(m_fPrevVolumeUnderWater == 0.0f && m_fVolumeUnderWater > 0.0f && GetModelIndex() == MI_SKIMMER){
CVector splashDir(0.0f, 0.0f, 0.25f*speed);