X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fgame_em%2Fgraphics.c;fp=src%2Fgame_em%2Fgraphics.c;h=c03267a1e7e84fa9ab9fda27a34e70376306adda;hp=43c5e4b22cb715e311858766d3d0642c6e90900c;hb=df57066a525140f21a8b712e7276cfba8c87a218;hpb=a335ab0bab1ccd58275b03f0bc3cada75a3dc389 diff --git a/src/game_em/graphics.c b/src/game_em/graphics.c index 43c5e4b2..c03267a1 100644 --- a/src/game_em/graphics.c +++ b/src/game_em/graphics.c @@ -75,8 +75,8 @@ void BlitScreenToBitmap_EM(Bitmap *target_bitmap) int sysize = (full_ysize < ysize ? full_ysize : ysize); int xxsize = MAX_BUF_XSIZE * TILEX - x; int yysize = MAX_BUF_YSIZE * TILEY - y; - int xoffset = 2 * TILEX; - int yoffset = 2 * TILEY; + int xoffset = 2 * CAVE_BUFFER_XOFFSET * TILEX; + int yoffset = 2 * CAVE_BUFFER_YOFFSET * TILEY; if (x < xoffset && y < yoffset) {