diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index 62e77ae77..0df79c415 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -3700,7 +3700,7 @@ static void HWR_Subsector(size_t num) HWR_GetTextureFlat(levelflats[*rover->bottompic].texturenum); light = R_GetPlaneLight(gr_frontsector, centerHeight, dup_viewz < cullHeight ? true : false); HWR_RenderPlane(NULL, &extrasubsectors[num], false, *rover->bottomheight, PF_Occlude, *gr_frontsector->lightlist[light].lightlevel, levelflats[*rover->bottompic].lumpnum, levelflats[*rover->bottompic].texturenum, - rover->master->frontsector, 255, false, gr_frontsector->lightlist[light].extra_colormap); + rover->master->frontsector, 255, false, *gr_frontsector->lightlist[light].extra_colormap); } } @@ -3766,7 +3766,7 @@ static void HWR_Subsector(size_t num) HWR_GetTextureFlat(levelflats[*rover->toppic].texturenum); light = R_GetPlaneLight(gr_frontsector, centerHeight, dup_viewz < cullHeight ? true : false); HWR_RenderPlane(NULL, &extrasubsectors[num], true, *rover->topheight, PF_Occlude, *gr_frontsector->lightlist[light].lightlevel, levelflats[*rover->toppic].lumpnum, levelflats[*rover->toppic].texturenum, - rover->master->frontsector, 255, false, gr_frontsector->lightlist[light].extra_colormap); + rover->master->frontsector, 255, false, *gr_frontsector->lightlist[light].extra_colormap); } } } diff --git a/src/r_plane.c b/src/r_plane.c index 645405b53..57c8079f1 100644 --- a/src/r_plane.c +++ b/src/r_plane.c @@ -1010,8 +1010,6 @@ void R_DrawSinglePlane(visplane_t *pl) if (ds_powersoftwo) { - - } if (hack) { /*