ref_soft: fix blocksize

This commit is contained in:
mittorn 2019-04-14 06:20:22 +07:00
parent 1c0262a8c4
commit 8a99d64139
1 changed files with 2 additions and 2 deletions

View File

@ -579,7 +579,7 @@ void R_DrawSurface (void)
R_DrawSurfaceBlock8_World();
soffset = soffset + horzblockstep;
soffset = soffset + blocksize;
if (soffset >= smax)
soffset = 0;
@ -608,7 +608,7 @@ void R_DrawSurface (void)
(*pblockdrawer)();
soffset = soffset + horzblockstep;
soffset = soffset + blocksize;
if (soffset >= smax)
soffset = 0;