mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-22 01:01:45 +00:00
Don't scale texture offsets in Software
This commit is contained in:
parent
84fe1dfc7d
commit
5bee4e1cd8
1 changed files with 3 additions and 3 deletions
|
@ -2326,9 +2326,9 @@ void R_StoreWallRange(INT32 start, INT32 stop)
|
|||
topyscale = sidedef->scaley_top;
|
||||
midyscale = sidedef->scaley_mid;
|
||||
botyscale = sidedef->scaley_bot;
|
||||
rw_offset_top = FixedMul(rw_offset + curline->offset, topxscale) + sidedef->textureoffset + sidedef->offsetx_top;
|
||||
rw_offset_mid = FixedMul(rw_offset + curline->offset, midxscale) + sidedef->textureoffset + sidedef->offsetx_mid;
|
||||
rw_offset_bot = FixedMul(rw_offset + curline->offset, botxscale) + sidedef->textureoffset + sidedef->offsetx_bot;
|
||||
rw_offset_top = FixedMul(rw_offset + curline->offset + sidedef->textureoffset + sidedef->offsetx_top, topxscale);
|
||||
rw_offset_mid = FixedMul(rw_offset + curline->offset + sidedef->textureoffset + sidedef->offsetx_mid, midxscale);
|
||||
rw_offset_bot = FixedMul(rw_offset + curline->offset + sidedef->textureoffset + sidedef->offsetx_bot, botxscale);
|
||||
rw_distance_scalex_top = FixedMul(rw_distance, topxscale);
|
||||
rw_distance_scalex_mid = FixedMul(rw_distance, midxscale);
|
||||
rw_distance_scalex_bot = FixedMul(rw_distance, botxscale);
|
||||
|
|
Loading…
Reference in a new issue