diff --git a/src/r_plane.cpp b/src/r_plane.cpp index 8f2a7f630..4e18815ba 100644 --- a/src/r_plane.cpp +++ b/src/r_plane.cpp @@ -1033,9 +1033,8 @@ static void R_DrawSkyColumn(int start_x, int y1, int y2, int columns) dc_dest = (ylookup[y1] + start_x) * 4 + dc_destorg; dc_count = y2 - y1; - // To do: figure out how GZDoom calculates the solid top and bottom colors - uint32_t solid_top = 0xff7f7f7f; - uint32_t solid_bottom = 0xff3f3f3f; + uint32_t solid_top = frontskytex->GetSkyCapColor(false); + uint32_t solid_bottom = frontskytex->GetSkyCapColor(true); if (columns == 4) if (!backskytex)