Don't need to check for HumanoidModel twice. Oops

This commit is contained in:
Goodlyay 2017-03-10 20:30:44 -08:00
parent 9d50aa3585
commit 2384af17b7

View File

@ -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);
}