mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-22 20:41:25 +00:00
Don't flip diff
This commit is contained in:
parent
69a0354517
commit
e8751d3dd1
1 changed files with 1 additions and 3 deletions
|
@ -2233,9 +2233,7 @@ static void R_StoreOverlayColumn(INT32 x, fixed_t textureoffset)
|
|||
|
||||
if (oldoverlaycolumn[i] != -1)
|
||||
{
|
||||
INT32 diff = oldoverlaycolumn[i]-overlaycolumn[i];
|
||||
if (rw_overlay[i].invscalex < 0)
|
||||
diff = -diff;
|
||||
INT32 diff = oldoverlaycolumn[i] - overlaycolumn[i];
|
||||
rw_overlay[i].mid += FixedMul(rw_overlay[i].slide, diff);
|
||||
rw_overlay[i].back += FixedMul(rw_overlay[i].backslide, diff);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue