Merge branch 'first-person-interp' into 'master'

Don't use localaim/angle in skybox in demos

Closes #18

See merge request KartKrew/Kart-Public!299
This commit is contained in:
Eidolon 2022-08-24 02:08:13 +00:00
commit b81805b9c7

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])
{ {