mirror of
https://github.com/halpz/re3.git
synced 2025-06-29 08:16:24 +00:00
More use of GetModelIndex
This commit is contained in:
@ -290,7 +290,7 @@ CBoat::ProcessControl(void)
|
||||
AddWakePoint(GetPosition());
|
||||
|
||||
float steerFactor = 1.0f - DotProduct(m_vecMoveSpeed, GetForward());
|
||||
if(m_modelIndex == MI_GHOST)
|
||||
if (GetModelIndex() == MI_GHOST)
|
||||
steerFactor = 1.0f - DotProduct(m_vecMoveSpeed, GetForward())*0.3f;
|
||||
if(steerFactor < 0.0f) steerFactor = 0.0f;
|
||||
|
||||
|
Reference in New Issue
Block a user