Fix second-person nametag pitch (#963)

Signed-off-by: Ayush Thoren <ayushthoren@gmail.com>
This commit is contained in:
Ayush Thoren authored and GitHub committed 2026-03-09 02:39:37 +08:00
1 parent dc91a1dad0
commit 45704388b6
1 file changed
+1
@@ -234,6 +234,7 @@ void EntityRenderDispatcher::prepare(Level *level, Textures *textures, Font *fon
if (pl->ThirdPersonView() == 2) if (pl->ThirdPersonView() == 2)
{ {
playerRotY += 180; playerRotY += 180;
playerRotX = -playerRotX;
} }
xPlayer = player->xOld + (player->x - player->xOld) * a; xPlayer = player->xOld + (player->x - player->xOld) * a;