THE LINES LIVE AGAIN (initial horizon lines work commit)
This commit is contained in:
parent
074dde5f78
commit
ead52294ab
|
@ -2622,6 +2622,10 @@ void R_StoreWallRange(INT32 start, INT32 stop)
|
||||||
worldbottomslope >>= 4;
|
worldbottomslope >>= 4;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (linedef->special == 41) { // HORIZON LINES
|
||||||
|
topstep = bottomstep = 0;
|
||||||
|
topfrac = bottomfrac = (centeryfrac>>4);
|
||||||
|
} else {
|
||||||
topstep = -FixedMul (rw_scalestep, worldtop);
|
topstep = -FixedMul (rw_scalestep, worldtop);
|
||||||
topfrac = (centeryfrac>>4) - FixedMul (worldtop, rw_scale);
|
topfrac = (centeryfrac>>4) - FixedMul (worldtop, rw_scale);
|
||||||
|
|
||||||
|
@ -2638,6 +2642,7 @@ void R_StoreWallRange(INT32 start, INT32 stop)
|
||||||
bottomstep = (bottomfracend-bottomfrac)/(range);
|
bottomstep = (bottomfracend-bottomfrac)/(range);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
dc_numlights = 0;
|
dc_numlights = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue