Skip to content

Commit

Permalink
initialize lightmap pointer in ProcessLowerMiniseg.
Browse files Browse the repository at this point in the history
  • Loading branch information
prof-hastig committed Apr 8, 2024
1 parent 7a43d7f commit 93423ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rendering/hwrenderer/scene/hw_walls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2501,6 +2501,7 @@ void HWWall::ProcessLowerMiniseg(HWWallDispatcher *di, seg_t *seg, sector_t * fr
this->frontsector = frontsector;
this->backsector = backsector;
this->sub = NULL;
this->lightmap = nullptr;

vertex_t * v1 = seg->v1;
vertex_t * v2 = seg->v2;
Expand Down

0 comments on commit 93423ff

Please sign in to comment.