Start with lightnum on sector lightlevel

This commit is contained in:
Sryder 2018-03-30 18:13:52 +01:00
parent 66f220d6ad
commit f3aa02e26d
1 changed files with 1 additions and 1 deletions

View File

@ -1092,7 +1092,7 @@ static void HWR_SplitWall(sector_t *sector, wallVert3D *wallVerts, INT32 texnum,
INT32 solid, i;
lightlist_t * list = sector->lightlist;
const UINT8 alpha = Surf->FlatColor.s.alpha;
FUINT lightnum;
FUINT lightnum = sector->lightlevel;
extracolormap_t *colormap = NULL;
realtop = top = wallVerts[3].y;