From 2384af17b7a30d744564fc5be762794241d04bc9 Mon Sep 17 00:00:00 2001 From: Goodlyay Date: Fri, 10 Mar 2017 20:30:44 -0800 Subject: [PATCH] Don't need to check for HumanoidModel twice. Oops --- ClassicalSharp/Entities/Components/AnimatedComponent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ClassicalSharp/Entities/Components/AnimatedComponent.cs b/ClassicalSharp/Entities/Components/AnimatedComponent.cs index ff9a02e88..dbd8e9abf 100644 --- a/ClassicalSharp/Entities/Components/AnimatedComponent.cs +++ b/ClassicalSharp/Entities/Components/AnimatedComponent.cs @@ -71,7 +71,7 @@ namespace ClassicalSharp.Entities { tiltY = (float)Math.Sin(walkTime) * swing * (0.15f * Utils.Deg2Rad); } - if (entity.Model is HumanoidModel || entity.Model is HumanoidModel) + if (entity.Model is HumanoidModel) CalcHumanAnim(idleXRot, idleZRot); }