mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-28 12:53:02 +05:00
revert some changes
This commit is contained in:
parent
01a45fccde
commit
159747614c
3 changed files with 4 additions and 24 deletions
|
@ -271,12 +271,7 @@ hook.Add("PostDrawTranslucentRenderables", "GrappleBeam", function()
|
|||
render.DrawBeam(LerpVector(ropelerp, lhandpos - ropedown, rhandpos), lhandpos, 1.5, 0, 1)
|
||||
render.DrawBeam(ropetop, lp:GetGrapplePos(), 1.5, 0, 1)
|
||||
|
||||
-- BodyAnim:SetSequence("grapplecenter")
|
||||
if CLIENT and IsFirstTimePredicted() then
|
||||
BodyAnim:SetSequence("grapplecenter")
|
||||
elseif game.SinglePlayer() then
|
||||
ply:SendLua("BodyAnim:SetSequence('grapplecenter')")
|
||||
end
|
||||
BodyAnim:SetSequence("grapplecenter")
|
||||
|
||||
ropelerp = math.Approach(ropelerp, 1, FrameTime() * 2)
|
||||
else
|
||||
|
|
|
@ -9,12 +9,7 @@ function DoJumpTurn(lookbehind)
|
|||
VMLegs:Remove()
|
||||
end
|
||||
|
||||
-- BodyAnim:SetSequence("jumpturnfly")
|
||||
if CLIENT and IsFirstTimePredicted() then
|
||||
BodyAnim:SetSequence("jumpturnfly")
|
||||
elseif game.SinglePlayer() then
|
||||
ply:SendLua("BodyAnim:SetSequence('jumpturnfly')")
|
||||
end
|
||||
BodyAnim:SetSequence("jumpturnfly")
|
||||
|
||||
BodyAnimCycle = 0
|
||||
BodyAnimSpeed = 1
|
||||
|
|
|
@ -17,19 +17,9 @@ local function Hardland(jt)
|
|||
end
|
||||
|
||||
DoJumpTurn(jt)
|
||||
-- BodyAnim:SetSequence("jumpturnflyidle")
|
||||
if CLIENT and IsFirstTimePredicted() then
|
||||
BodyAnim:SetSequence("jumpturnflyidle")
|
||||
elseif game.SinglePlayer() then
|
||||
ply:SendLua("BodyAnim:SetSequence('jumpturnflyidle')")
|
||||
end
|
||||
BodyAnim:SetSequence("jumpturnflyidle")
|
||||
else
|
||||
-- BodyAnim:SetSequence("jumpcoilend")
|
||||
if CLIENT and IsFirstTimePredicted() then
|
||||
BodyAnim:SetSequence("jumpcoilend")
|
||||
elseif game.SinglePlayer() then
|
||||
ply:SendLua("BodyAnim:SetSequence('jumpcoilend')")
|
||||
end
|
||||
BodyAnim:SetSequence("jumpcoilend")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue