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

This commit is contained in:
toaster 2022-10-28 21:24:45 +01:00
commit b84d4a6bd2

View file

@ -821,8 +821,8 @@ void P_Ticker(boolean run)
for (i = 0; i <= splitscreen; i++) for (i = 0; i <= splitscreen; i++)
{ {
player_t *player = &players[displayplayers[i]]; player_t *player = &players[displayplayers[i]];
boolean skyVisible = skyVisiblePerPlayer[i]; boolean isSkyVisibleForPlayer = skyVisiblePerPlayer[i];
if (skyVisible && skyboxmo[0] && cv_skybox.value) if (isSkyVisibleForPlayer && skyboxmo[0] && cv_skybox.value)
{ {
R_SkyboxFrame(player); R_SkyboxFrame(player);
} }