Ensure player mo exists in T-1 hack skybox update
This commit is contained in:
1 parent
ca69b5f2ca
commit
fcdb098b9c
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user