diff --git a/src/r_segs.c b/src/r_segs.c index fbc6cf7dd..e3f464ab8 100644 --- a/src/r_segs.c +++ b/src/r_segs.c @@ -2467,7 +2467,7 @@ void R_StoreWallRange(INT32 start, INT32 stop) worldtopslope >>= 4; worldbottomslope >>= 4; - if (linedef->special == 41) // HORIZON LINES + if (linedef->special == HORIZONSPECIAL) // HORIZON LINES { topstep = bottomstep = 0; topfrac = bottomfrac = (centeryfrac>>4); @@ -2577,7 +2577,8 @@ void R_StoreWallRange(INT32 start, INT32 stop) { ffloor[i].f_pos >>= 4; ffloor[i].f_pos_slope >>= 4; - if (linedef->special == 41) // Horizon lines extend FOFs in contact with them too. + + if (linedef->special == HORIZONSPECIAL) // Horizon lines extend FOFs in contact with them too. { ffloor[i].f_step = 0; ffloor[i].f_frac = (centeryfrac>>4);