mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-14 10:42:30 +00:00
Fix sigsegv when there is no main skybox viewpoint.
This commit is contained in:
parent
819169f378
commit
f0b79697e5
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…
Add table
Reference in a new issue