Don't use localaim/angle in skybox in demos

This commit is contained in:
Eidolon 2022-08-23 20:11:24 -05:00
parent 7369cd4c16
commit a728a4bb06

View file

@ -844,7 +844,7 @@ void R_SkyboxFrame(player_t *player)
{ {
newview->aim = player->aiming; newview->aim = player->aiming;
newview->angle = player->mo->angle; newview->angle = player->mo->angle;
if (/*!demo.playback && */player->playerstate != PST_DEAD) if (!demo.playback && player->playerstate != PST_DEAD)
{ {
if (player == &players[consoleplayer]) if (player == &players[consoleplayer])
{ {