Skip to content

Commit

Permalink
fix: unused global variable getCamDirection
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Jul 11, 2024
1 parent 96fa80f commit 72e49b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function KeyboardInput(entryTitle, textEntry, inputText, maxLength)
end
end

function getCamDirection()
function GetPlayerCameraRotation()
local heading = GetGameplayCamRelativeHeading() + GetEntityPhysicsHeading(plyPed)
local pitch = GetGameplayCamRelativePitch()
local coords = vector3(
Expand Down

0 comments on commit 72e49b8

Please sign in to comment.