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

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;