diff --git a/src/v_video.c b/src/v_video.c index b5281605f..470910bf5 100644 --- a/src/v_video.c +++ b/src/v_video.c @@ -402,7 +402,7 @@ static void DrawPatchInternal(int x, int y, patch_t *patch, boolean flipped) } else // too far off-screen { - x1 = (x1 * video.xscale) >> FRACBITS; + x1 = -(DIV_ROUND_FLOOR(video.width * (-x1 - 1), video.unscaledw)); } if (x2 < video.unscaledw)