summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-06-14 09:50:00 +0200
committeraap <aap@papnet.eu>2020-06-14 09:50:00 +0200
commitb77d044729c41fb35599525b27357e1b7d7f173a (patch)
treeed21ec83412a28ae49cb151f361bd528a7e4b7c2
parenta few cam fixes (diff)
downloadre3-b77d044729c41fb35599525b27357e1b7d7f173a.tar
re3-b77d044729c41fb35599525b27357e1b7d7f173a.tar.gz
re3-b77d044729c41fb35599525b27357e1b7d7f173a.tar.bz2
re3-b77d044729c41fb35599525b27357e1b7d7f173a.tar.lz
re3-b77d044729c41fb35599525b27357e1b7d7f173a.tar.xz
re3-b77d044729c41fb35599525b27357e1b7d7f173a.tar.zst
re3-b77d044729c41fb35599525b27357e1b7d7f173a.zip
Diffstat (limited to '')
m---------librw0
-rw-r--r--src/vehicles/Boat.cpp2
2 files changed, 2 insertions, 0 deletions
diff --git a/librw b/librw
-Subproject 556f6af1b5a15d5ba1a2254a95076578cd16018
+Subproject 6ff378bb16007ad003b1a71996944a20f2e7655
diff --git a/src/vehicles/Boat.cpp b/src/vehicles/Boat.cpp
index 0ed7876a..d86627de 100644
--- a/src/vehicles/Boat.cpp
+++ b/src/vehicles/Boat.cpp
@@ -904,6 +904,8 @@ CBoat::AddWakePoint(CVector point)
}
m_avec2dWakePoints[0] = point;
m_afWakePointLifeTime[0] = 400.0f;
+ if(m_nNumWakePoints < ARRAY_SIZE(m_afWakePointLifeTime))
+ m_nNumWakePoints++;
}
}else{
m_avec2dWakePoints[0] = point;