mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
ref_soft: fix blocksize
This commit is contained in:
parent
1c0262a8c4
commit
8a99d64139
4
r_surf.c
4
r_surf.c
@ -579,7 +579,7 @@ void R_DrawSurface (void)
|
|||||||
|
|
||||||
R_DrawSurfaceBlock8_World();
|
R_DrawSurfaceBlock8_World();
|
||||||
|
|
||||||
soffset = soffset + horzblockstep;
|
soffset = soffset + blocksize;
|
||||||
if (soffset >= smax)
|
if (soffset >= smax)
|
||||||
soffset = 0;
|
soffset = 0;
|
||||||
|
|
||||||
@ -608,7 +608,7 @@ void R_DrawSurface (void)
|
|||||||
|
|
||||||
(*pblockdrawer)();
|
(*pblockdrawer)();
|
||||||
|
|
||||||
soffset = soffset + horzblockstep;
|
soffset = soffset + blocksize;
|
||||||
if (soffset >= smax)
|
if (soffset >= smax)
|
||||||
soffset = 0;
|
soffset = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user