From d9efc75678c35e55a32e075721247eb5e141fc0e Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Tue, 1 Nov 2016 10:26:33 +1100 Subject: [PATCH] fix last commit --- ClassicalSharp/Entities/Components/AnimatedComponent.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ClassicalSharp/Entities/Components/AnimatedComponent.cs b/ClassicalSharp/Entities/Components/AnimatedComponent.cs index 543294632..e69800c81 100644 --- a/ClassicalSharp/Entities/Components/AnimatedComponent.cs +++ b/ClassicalSharp/Entities/Components/AnimatedComponent.cs @@ -58,9 +58,9 @@ namespace ClassicalSharp.Entities { legXRot = -(float)(Math.Cos( walkTime ) * swing * legMax); armZRot = -idleZRot; - bobbingHor = (float)(Math.Cos( walkTime ) * swing * (2.5f/16f)); - bobbingVer = (float)(Math.Abs( Math.Sin( walkTime ) ) * swing * (2.5f/16f)); - bobbingModel = (float)(Math.Abs( Math.Sin( walkTime ) ) * swing * (4.0f/16f)); + bobbingHor = (float)(Math.Sin( walkTime ) * swing * (2.5f/16f)); + bobbingVer = (float)(Math.Abs( Math.Cos( walkTime ) ) * swing * (2.5f/16f)); + bobbingModel = (float)(Math.Abs( Math.Cos( walkTime ) ) * swing * (4.0f/16f)); DoTilt( ref bobStrength, !game.ViewBobbing || !entity.onGround ); if( entity is LocalPlayer ) {