Fixed teleport::to_coords not setting the player's yaw if they were not in a vehicle. (#2401)

This commit is contained in:
gir489 2023-11-09 17:07:30 -05:00 committed by GitHub
parent 700a20d903
commit eca00ef3b6

View File

@ -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)
{