fixed the R_AddWorldSurface optimization so it won't remove the sky

This commit is contained in:
myT 2020-06-20 03:04:00 +02:00
parent 70ba2e7939
commit 180a0187b7

View file

@ -192,6 +192,7 @@ static void R_AddWorldSurface( msurface_t* surf )
// surfaces that don't ever draw anything are not considered visible
if ( surf->shader->numStages == 0 &&
surf->shader->sort > SS_ENVIRONMENT &&
( surf->shader->fogPass == FP_NONE || surf->fogIndex == 0 ) )
return;