diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-01-31 21:02:08 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-01-31 21:02:08 +0200 |
commit | 0c581ce86a3b0b6cc4be5505c255408f97539356 (patch) | |
tree | 68aff7fa6b3bf3ab552528a1b9544f4c65730769 /src/vehicles/Boat.cpp | |
parent | 79d2ab7619eef2fe0c437e368bd287f2a0b1b590 (diff) |
Fix boat component
Diffstat (limited to 'src/vehicles/Boat.cpp')
-rw-r--r-- | src/vehicles/Boat.cpp | 2 |
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(); |