From b3f9f9e47a0215449ad204f42c06fede75ab1d9c Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Tue, 22 Mar 2022 21:11:17 +0200 Subject: [PATCH] Fix entity quaternion properties. Vector flag enumeration was used instead of Quaternion flag enumeration. --- module/Misc/Official.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/Misc/Official.cpp b/module/Misc/Official.cpp index 5eaa83e9..705ab5c9 100644 --- a/module/Misc/Official.cpp +++ b/module/Misc/Official.cpp @@ -250,10 +250,10 @@ void LgEntityQuaternion::Set() case LgEntityType::Vehicle: switch (mFlag) { - case LgVehicleVectorFlag::Angle: + case LgVehicleQuaternionFlag::Angle: _Func->SetVehicleRotation(mID, x, y, z, w); break; - case LgVehicleVectorFlag::SpawnAngle: + case LgVehicleQuaternionFlag::SpawnAngle: _Func->SetVehicleSpawnRotation(mID, x, y, z, w); break; default: break;