summaryrefslogtreecommitdiff
path: root/src/vehicles/Boat.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-01-31 21:02:08 +0200
committerSergeanur <s.anureev@yandex.ua>2020-01-31 21:02:08 +0200
commit0c581ce86a3b0b6cc4be5505c255408f97539356 (patch)
tree68aff7fa6b3bf3ab552528a1b9544f4c65730769 /src/vehicles/Boat.cpp
parent79d2ab7619eef2fe0c437e368bd287f2a0b1b590 (diff)
Fix boat component
Diffstat (limited to 'src/vehicles/Boat.cpp')
-rw-r--r--src/vehicles/Boat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Boat.cpp b/src/vehicles/Boat.cpp
index 71c3374b..7dbd7080 100644
--- a/src/vehicles/Boat.cpp
+++ b/src/vehicles/Boat.cpp
@@ -106,7 +106,7 @@ CBoat::Render()
matrix.Attach(&m_aBoatNodes[1]->modelling);
CVector pos = matrix.GetPosition();
- matrix.SetRotateZOnly(m_fMovingHiRotation);
+ matrix.SetRotateZ(m_fMovingHiRotation);
matrix.Translate(pos);
matrix.UpdateRW();