summaryrefslogtreecommitdiff
path: root/src/v_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/v_video.c')
-rw-r--r--src/v_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/v_video.c b/src/v_video.c
index 63155862..84882186 100644
--- a/src/v_video.c
+++ b/src/v_video.c
@@ -364,7 +364,7 @@ V_DrawPatchDirect
#endif
// V_MarkRect (x, y, SHORT(patch->width), SHORT(patch->height));
- desttop = destscreen + (y*SCREENWIDTH + x) / 4;
+ desttop = destscreen + y*SCREENWIDTH/4 + (x>>2);
w = SHORT(patch->width);
for ( col = 0 ; col<w ; col++)