mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-23 19:31:05 +00:00
Backport Kart Krew's fix for the 1px HOM with horizon lines
This commit is contained in:
parent
b74c01b38f
commit
2cd2b6bf10
1 changed files with 1 additions and 0 deletions
|
@ -2693,6 +2693,7 @@ void R_StoreWallRange(INT32 start, INT32 stop)
|
|||
if (linedef->special == 41) { // HORIZON LINES
|
||||
topstep = bottomstep = 0;
|
||||
topfrac = bottomfrac = (centeryfrac>>4);
|
||||
topfrac++; // Prevent 1px HOM
|
||||
} else {
|
||||
topstep = -FixedMul (rw_scalestep, worldtop);
|
||||
topfrac = (centeryfrac>>4) - FixedMul (worldtop, rw_scale);
|
||||
|
|
Loading…
Reference in a new issue