diff --git a/src/v_video.c b/src/v_video.c index 56e3619ae..64ce358c6 100644 --- a/src/v_video.c +++ b/src/v_video.c @@ -873,7 +873,9 @@ void V_DrawStretchyFixedPatch(fixed_t x, fixed_t y, fixed_t pscale, fixed_t vsca if (x+offx >= vid.width) // don't draw off the right of the screen (WRAP PREVENTION) break; } - column = (const column_t *)((const UINT8 *)(patch->columns) + (patch->columnofs[col>>FRACBITS])); + + INT32 realcol = (scrn & V_FLIP) ? ((patch->width-(col>>FRACBITS)-1)<columns) + (patch->columnofs[realcol>>FRACBITS])); switch (patchdrawtype) { @@ -886,8 +888,6 @@ void V_DrawStretchyFixedPatch(fixed_t x, fixed_t y, fixed_t pscale, fixed_t vsca prevdelta = topdelta; source = (const UINT8 *)(column) + 3; dest = desttop; - if (scrn & V_FLIP) - dest = deststart + (destend - desttop); dest += FixedInt(FixedMul(topdelta<