Skip to content

Commit

Permalink
cleaned code
Browse files Browse the repository at this point in the history
  • Loading branch information
mexikoedi committed Dec 31, 2024
1 parent 60d9f28 commit ee6d40f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ if CLIENT then
end

local idle_pose = 0
function SWEP:PreDrawViewModel(vm, wep, ply)
function SWEP:PreDrawViewModel(vm, _, ply)
local ft = FrameTime()
local attID = vm:LookupAttachment("camera")
local act = vm:GetSequenceActivity(vm:GetSequence())
Expand Down Expand Up @@ -500,7 +500,7 @@ if CLIENT then
return true
end

function SWEP:PostDrawViewModel(vm, wep, ply)
function SWEP:PostDrawViewModel(_, _, ply)
if not IsValid(ply) then return end
local vm_depth = self.ViewModelFOV / ply:GetFOV()
local hands = ply:GetHands()
Expand All @@ -511,7 +511,7 @@ if CLIENT then
render.DepthRange(0, 1)
end

function SWEP:CalcViewModelView(vm, origin, angles, vm_origin, vm_angles)
function SWEP:CalcViewModelView(_, _, _, vm_origin, vm_angles)
if self:ShouldAnimateKiss() then
local pos, ang = self:GetKissPos()
if pos == nil or ang == nil then return end
Expand Down

0 comments on commit ee6d40f

Please sign in to comment.