Skip to content

Commit

Permalink
Revert my very old pull.
Browse files Browse the repository at this point in the history
  • Loading branch information
riggs9162 committed Apr 1, 2024
1 parent d788e28 commit 782b524
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gamemode/core/hooks/cl_hooks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ function GM:OnCharacterMenuCreated(panel)
end
end

ix.loweredangles = Angle(30, 0, -25)
local LOWERED_ANGLES = Angle(30, 0, -25)

function GM:CalcViewModelView(weapon, viewModel, oldEyePos, oldEyeAngles, eyePos, eyeAngles)
if (!IsValid(weapon)) then
Expand All @@ -315,7 +315,7 @@ function GM:CalcViewModelView(weapon, viewModel, oldEyePos, oldEyeAngles, eyePos
end

local fraction = client.ixRaisedFraction
local rotation = weapon.LowerAngles or ix.loweredangles
local rotation = weapon.LowerAngles or LOWERED_ANGLES

if (ix.option.Get("altLower", true) and weapon.LowerAngles2) then
rotation = weapon.LowerAngles2
Expand Down

0 comments on commit 782b524

Please sign in to comment.