mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-23 20:17:58 -04:00
return early out of R_StoreWallRange() if a line has no linedef
Only possible with XGLN/ZGLN nodes. Silence a buch of clang-tidy warnings.
This commit is contained in:
parent
d3ccce3675
commit
6b4d22565e
@ -539,9 +539,11 @@ void R_StoreWallRange(const int start, const int stop)
|
|||||||
sidedef = curline->sidedef;
|
sidedef = curline->sidedef;
|
||||||
linedef = curline->linedef;
|
linedef = curline->linedef;
|
||||||
|
|
||||||
|
if (!linedef)
|
||||||
|
return;
|
||||||
|
|
||||||
// mark the segment as visible for auto map
|
// mark the segment as visible for auto map
|
||||||
if (linedef)
|
linedef->flags |= ML_MAPPED;
|
||||||
linedef->flags |= ML_MAPPED;
|
|
||||||
|
|
||||||
// [FG] update automap while playing
|
// [FG] update automap while playing
|
||||||
if (automap_on)
|
if (automap_on)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user