Fix second-person nametag pitch (#963)
Signed-off-by: Ayush Thoren <ayushthoren@gmail.com>
This commit is contained in:
parent
dc91a1dad0
commit
45704388b6
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue