Skip to content

Commit f796e55

Browse files
prof-hastigcoelckers
authored andcommitted
initialize lightmap pointer in ProcessLowerMiniseg.
1 parent 7a43d7f commit f796e55

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rendering/hwrenderer/scene/hw_walls.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -2501,6 +2501,7 @@ void HWWall::ProcessLowerMiniseg(HWWallDispatcher *di, seg_t *seg, sector_t * fr
25012501
this->frontsector = frontsector;
25022502
this->backsector = backsector;
25032503
this->sub = NULL;
2504+
this->lightmap = nullptr;
25042505

25052506
vertex_t * v1 = seg->v1;
25062507
vertex_t * v2 = seg->v2;

0 commit comments

Comments
 (0)