diff options
Diffstat (limited to '')
m--------- | librw | 0 | ||||
-rw-r--r-- | src/vehicles/Boat.cpp | 2 |
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; |