From 0c581ce86a3b0b6cc4be5505c255408f97539356 Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Fri, 31 Jan 2020 21:02:08 +0200 Subject: Fix boat component --- src/vehicles/Boat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vehicles') 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(); -- cgit v1.2.3