mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-17 20:10:23 +03:00
* 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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user