Browse Source

ref_soft: fix blocksize

pull/2/head
mittorn 6 years ago
parent
commit
8a99d64139
  1. 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…
Cancel
Save