mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Merge branch 'horizon-line-hom-fix' into 'master'
Horizon line HOM fix See merge request STJr/SRB2Internal!152
This commit is contained in:
commit
effd0ebe97
1 changed files with 1 additions and 0 deletions
|
|
@ -2695,6 +2695,7 @@ void R_StoreWallRange(INT32 start, INT32 stop)
|
||||||
if (linedef->special == 41) { // HORIZON LINES
|
if (linedef->special == 41) { // HORIZON LINES
|
||||||
topstep = bottomstep = 0;
|
topstep = bottomstep = 0;
|
||||||
topfrac = bottomfrac = (centeryfrac>>4);
|
topfrac = bottomfrac = (centeryfrac>>4);
|
||||||
|
topfrac++; // Prevent 1px HOM
|
||||||
} else {
|
} 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);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue