Only call SetupFrame in T-1 hack with player->mo

This commit is contained in:
Eidolon 2022-10-30 21:03:00 -05:00
parent 461a80d357
commit 65737cd4bd

View file

@ -827,10 +827,13 @@ void P_Ticker(boolean run)
{ {
R_SkyboxFrame(player); R_SkyboxFrame(player);
} }
if (player->mo)
{
R_SetupFrame(player, (skyboxmo[0] && cv_skybox.value)); R_SetupFrame(player, (skyboxmo[0] && cv_skybox.value));
} }
} }
} }
}
P_MapEnd(); P_MapEnd();