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:
parent
a2421afca1
commit
b3f9f9e47a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user