* ItemInHandRenderer: Add dynamic hand.

* Options: Fix saving of a few options
* PatchManager: Load patch options before regular options - this fixes a bug where the fancy grass option would be reset to false even if grass tint would be set to true.
This commit is contained in:
iProgramInCpp
2023-12-26 00:57:27 +02:00
parent 9d5b957339
commit 7f219385c6
7 changed files with 85 additions and 8 deletions

View File

@@ -600,7 +600,10 @@ void GameRenderer::render(float f)
field_80 = pMC->m_mouseHandler.m_delta.y;
}
pMC->m_pLocalPlayer->turn(diff_field_84 * field_7C, diff_field_84 * multPitch * field_80);
float yawDiff = diff_field_84 * field_7C;
float pitchDiff = diff_field_84 * multPitch * field_80;
m_pItemInHandRenderer->turn(yawDiff, pitchDiff);
pMC->m_pLocalPlayer->turn(yawDiff, pitchDiff);
}
int mouseX = int(Mouse::getX() * Gui::InvGuiScale);