mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-28 12:53:02 +05:00
don't need that fix, im just stupid af
This commit is contained in:
parent
1bce92840d
commit
76ae7c3102
1 changed files with 1 additions and 17 deletions
|
@ -145,12 +145,7 @@ local runanims = {
|
||||||
walkfwd = true,
|
walkfwd = true,
|
||||||
crouchstill = true,
|
crouchstill = true,
|
||||||
sprintfwd = true,
|
sprintfwd = true,
|
||||||
runbwd = true,
|
runbwd = true
|
||||||
water_swimfwd = true,
|
|
||||||
water_swimright = true,
|
|
||||||
water_swimleft = true,
|
|
||||||
water_swimback = true,
|
|
||||||
water_float = true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
local events = {
|
local events = {
|
||||||
|
@ -1726,17 +1721,6 @@ local function JumpThink()
|
||||||
ang[1] = 0
|
ang[1] = 0
|
||||||
ang[3] = 0
|
ang[3] = 0
|
||||||
|
|
||||||
if vel_l > 0 and string.StartsWith(BodyAnimString, "water_") then -- somehow that worked? i did literally nothing
|
|
||||||
local water_eye_ang = ply:EyeAngles()
|
|
||||||
water_eye_ang[1] = 0
|
|
||||||
water_eye_ang[3] = 0
|
|
||||||
local water_ang = LerpAngle(math.min(lerpspeed * FrameTime() * speed, 1), BodyAnim:GetAngles(), water_eye_ang)
|
|
||||||
|
|
||||||
BodyAnim:SetAngles(water_ang)
|
|
||||||
|
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
if vel_l > 0 or BodyAnimString == "walktostandleft" or ply:Crouching() or IsValid(ply:GetBalanceEntity()) then
|
if vel_l > 0 or BodyAnimString == "walktostandleft" or ply:Crouching() or IsValid(ply:GetBalanceEntity()) then
|
||||||
if newang:Forward():Dot(ang:Forward()) > -0.25 then
|
if newang:Forward():Dot(ang:Forward()) > -0.25 then
|
||||||
ply.OrigEyeAng = newang
|
ply.OrigEyeAng = newang
|
||||||
|
|
Loading…
Reference in a new issue