mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 08:47:17 +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:
|
case LgEntityType::Vehicle:
|
||||||
switch (mFlag)
|
switch (mFlag)
|
||||||
{
|
{
|
||||||
case LgVehicleVectorFlag::Angle:
|
case LgVehicleQuaternionFlag::Angle:
|
||||||
_Func->SetVehicleRotation(mID, x, y, z, w);
|
_Func->SetVehicleRotation(mID, x, y, z, w);
|
||||||
break;
|
break;
|
||||||
case LgVehicleVectorFlag::SpawnAngle:
|
case LgVehicleQuaternionFlag::SpawnAngle:
|
||||||
_Func->SetVehicleSpawnRotation(mID, x, y, z, w);
|
_Func->SetVehicleSpawnRotation(mID, x, y, z, w);
|
||||||
break;
|
break;
|
||||||
default: break;
|
default: break;
|
||||||
|
Loading…
Reference in New Issue
Block a user