aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/EntityRenderDispatcher.cpp
diff options
context:
space:
mode:
authorAyush Thoren <ayushthoren@gmail.com>2026-03-08 11:39:37 -0700
committerGitHub <noreply@github.com>2026-03-09 02:39:37 +0800
commit45704388b6103ddc2d82d5f6ad740d64986490fc (patch)
tree74b00426bf18c3476256e24268b1793d3410ff63 /Minecraft.Client/EntityRenderDispatcher.cpp
parentdc91a1dad05af5caab54d2e6cd9cb68da4f016f6 (diff)
Fix second-person nametag pitch (#963)
Signed-off-by: Ayush Thoren <ayushthoren@gmail.com>
Diffstat (limited to 'Minecraft.Client/EntityRenderDispatcher.cpp')
-rw-r--r--Minecraft.Client/EntityRenderDispatcher.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Minecraft.Client/EntityRenderDispatcher.cpp b/Minecraft.Client/EntityRenderDispatcher.cpp
index 5bb98ead..57fdcc47 100644
--- a/Minecraft.Client/EntityRenderDispatcher.cpp
+++ b/Minecraft.Client/EntityRenderDispatcher.cpp
@@ -234,6 +234,7 @@ void EntityRenderDispatcher::prepare(Level *level, Textures *textures, Font *fon
if (pl->ThirdPersonView() == 2)
{
playerRotY += 180;
+ playerRotX = -playerRotX;
}
xPlayer = player->xOld + (player->x - player->xOld) * a;