Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart-Public into internal16fixes

# Conflicts:
#	src/p_tick.c
This commit is contained in:
toaster 2022-10-31 10:35:31 +00:00
commit 8ae551e6bc

View file

@ -825,7 +825,9 @@ void P_Ticker(boolean run)
{
player_t *player = &players[displayplayers[i]];
boolean isSkyVisibleForPlayer = skyVisiblePerPlayer[i];
if (isSkyVisibleForPlayer && player->mo && skyboxmo[0] && cv_skybox.value)
if (!player->mo)
continue;
if (isSkyVisibleForPlayer && skyboxmo[0] && cv_skybox.value)
{
R_SkyboxFrame(player);
}