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,7 +827,10 @@ void P_Ticker(boolean run)
{ {
R_SkyboxFrame(player); R_SkyboxFrame(player);
} }
R_SetupFrame(player, (skyboxmo[0] && cv_skybox.value)); if (player->mo)
{
R_SetupFrame(player, (skyboxmo[0] && cv_skybox.value));
}
} }
} }
} }