From 8a99d64139df3a3bec26a156b7f5d889bb0a8ea1 Mon Sep 17 00:00:00 2001 From: mittorn Date: Sun, 14 Apr 2019 06:20:22 +0700 Subject: [PATCH] ref_soft: fix blocksize --- r_surf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/r_surf.c b/r_surf.c index 23e5efa0..a16256dc 100644 --- a/r_surf.c +++ b/r_surf.c @@ -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;