1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01:00

Fix entity quaternion properties.

Vector flag enumeration was used instead of Quaternion flag enumeration.
This commit is contained in:
Sandu Liviu Catalin 2022-03-22 21:11:17 +02:00
parent a2421afca1
commit b3f9f9e47a

View File

@ -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;