diff options
Diffstat (limited to 'src/v_video.c')
-rw-r--r-- | src/v_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/v_video.c b/src/v_video.c index 84882186..63155862 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/4 + (x>>2); + desttop = destscreen + (y*SCREENWIDTH + x) / 4; w = SHORT(patch->width); for ( col = 0 ; col<w ; col++) |