* Add ModelPart from 0.2.0

This commit is contained in:
iProgramInCpp
2023-12-05 18:27:01 +02:00
parent bd6cd95b66
commit 8b3c01b092
16 changed files with 534 additions and 310 deletions

View File

@@ -123,9 +123,9 @@ void EntityRenderDispatcher::render(Entity* entity, float a, float b, float c, f
{
#ifndef ORIGINAL_CODE
if (pRenderer == &m_HumanoidMobRenderer)
m_HumanoidMobRenderer.m_pHumanoidModel->field_10BE = entity->isSneaking();
m_HumanoidMobRenderer.m_pHumanoidModel->m_bSneaking = entity->isSneaking();
else
m_HumanoidMobRenderer.m_pHumanoidModel->field_10BE = false;
m_HumanoidMobRenderer.m_pHumanoidModel->m_bSneaking = false;
#endif
pRenderer->render(entity, a, b, c, d, e);