fix last commit

This commit is contained in:
UnknownShadow200 2016-11-01 10:26:33 +11:00
parent 4adfdb837e
commit d9efc75678

View file

@ -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 ) {