Skip to content

Commit

Permalink
Fixed: Sky color used in non-sky sectors and vice-versa.
Browse files Browse the repository at this point in the history
  • Loading branch information
danij committed Mar 25, 2008
1 parent 6f93cbc commit 5e41f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/engine/portable/src/r_world.c
Expand Up @@ -1837,7 +1837,7 @@ const float *R_GetSectorLightColor(const sector_t *sector)
if(!rendSkyLight || noSkyColorGiven)
return sector->rgb; // The sector's real color.

if(R_SectorContainsSkySurfaces(sector))
if(!R_SectorContainsSkySurfaces(sector))
{
uint c;
sector_t *src;
Expand Down

0 comments on commit 5e41f16

Please sign in to comment.