mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 17:22:12 +00:00
Fix sigsegv when there is no main skybox viewpoint.
This commit is contained in:
parent
1c14062e8b
commit
5284817259
1 changed files with 1 additions and 1 deletions
|
@ -1071,7 +1071,7 @@ void R_RenderPlayerView(player_t *player)
|
|||
//profile stuff ---------------------------------------------------------
|
||||
|
||||
// Add skybox portals caused by sky visplanes.
|
||||
if (cv_skybox.value)
|
||||
if (cv_skybox.value && skyboxmo[0])
|
||||
Portal_AddSkyboxPortals();
|
||||
|
||||
// Portal rendering. Hijacks the BSP traversal.
|
||||
|
|
Loading…
Reference in a new issue