Fixed teleport::to_coords not setting the player's yaw if they were not in a vehicle. (#2401)
This commit is contained in:
parent
3b714f5c67
commit
762507802f
@ -17,6 +17,10 @@ namespace big::teleport
|
||||
{
|
||||
ENTITY::SET_ENTITY_HEADING(self::veh, euler.x);
|
||||
}
|
||||
else
|
||||
{
|
||||
ENTITY::SET_ENTITY_HEADING(self::ped, euler.x);
|
||||
}
|
||||
}
|
||||
if (euler.y != 0.f && euler.z != 0.f)
|
||||
{
|
||||
|
Reference in New Issue
Block a user