Fix boat component
This commit is contained in:
parent
79d2ab7619
commit
0c581ce86a
@ -106,7 +106,7 @@ CBoat::Render()
|
|||||||
matrix.Attach(&m_aBoatNodes[1]->modelling);
|
matrix.Attach(&m_aBoatNodes[1]->modelling);
|
||||||
|
|
||||||
CVector pos = matrix.GetPosition();
|
CVector pos = matrix.GetPosition();
|
||||||
matrix.SetRotateZOnly(m_fMovingHiRotation);
|
matrix.SetRotateZ(m_fMovingHiRotation);
|
||||||
matrix.Translate(pos);
|
matrix.Translate(pos);
|
||||||
|
|
||||||
matrix.UpdateRW();
|
matrix.UpdateRW();
|
||||||
|
Loading…
Reference in New Issue
Block a user