diff --git a/Minecraft.Client/HumanoidModel.cpp b/Minecraft.Client/HumanoidModel.cpp index c363f528..517621c8 100644 --- a/Minecraft.Client/HumanoidModel.cpp +++ b/Minecraft.Client/HumanoidModel.cpp @@ -593,6 +593,12 @@ void HumanoidModel::setupAnim(float time, float r, float bob, float yRot, float if (sleeve1) sleeve1->yRot=0.0f; + if (holdingRightHand == 3) + { + arm0->yRot = -0.4f; + if (sleeve0) sleeve0->yRot = -0.4f; + } + if (attackTime > -9990.0f) { float swing = attackTime; diff --git a/Minecraft.Client/PlayerRenderer.cpp b/Minecraft.Client/PlayerRenderer.cpp index 8ff3bf85..9224a60b 100644 --- a/Minecraft.Client/PlayerRenderer.cpp +++ b/Minecraft.Client/PlayerRenderer.cpp @@ -635,10 +635,10 @@ void PlayerRenderer::additionalRendering(shared_ptr _mob, float a) { if (anim == UseAnim_block) { - glTranslatef(0.05f, 0, -0.1f); - glRotatef(-50, 0, 1, 0); - glRotatef(-10, 1, 0, 0); - glRotatef(-60, 0, 0, 1); + glTranslatef(-0.015f, -0.05f, -0.12f); + glRotatef(0, 0, 1, 0); //-20 / -15 + glRotatef(20, 1, 0, 0); //10 / 30 + glRotatef(-5, 0, 0, 1); //0 / 5 } } glTranslatef(0, 3 / 16.0f, 0);