mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-10 07:12:03 +00:00
Ensure player mo exists in T-1 hack skybox update
This commit is contained in:
parent
ca69b5f2ca
commit
fcdb098b9c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue