fixed boat wake

This commit is contained in:
aap 2020-06-14 09:50:00 +02:00
parent 3fe282fbe4
commit b77d044729
2 changed files with 3 additions and 1 deletions

2
librw

@ -1 +1 @@
Subproject commit 556f6af1b5a15d5ba1a2254a95076578cd160185
Subproject commit 6ff378bb16007ad003b1a71996944a20f2e76556

View File

@ -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;