Fix second-person nametag pitch (#963)
Signed-off-by: Ayush Thoren <ayushthoren@gmail.com>
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user