Ensure player mo exists in T-1 hack skybox update
This commit is contained in:
parent
ca69b5f2ca
commit
fcdb098b9c
|
@ -820,7 +820,7 @@ void P_Ticker(boolean run)
|
|||
{
|
||||
player_t *player = &players[displayplayers[i]];
|
||||
boolean isSkyVisibleForPlayer = skyVisiblePerPlayer[i];
|
||||
if (isSkyVisibleForPlayer && skyboxmo[0] && cv_skybox.value)
|
||||
if (isSkyVisibleForPlayer && player->mo && skyboxmo[0] && cv_skybox.value)
|
||||
{
|
||||
R_SkyboxFrame(player);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue