From 0f7e48ead23cc0df9fdf17eb18b2dde51d9f2285 Mon Sep 17 00:00:00 2001 From: pasky Date: Fri, 19 Nov 2004 21:57:02 +0000 Subject: [PATCH] (svn r679) Clarify bp.sprite assignment in GfxMainBlitter(). Pointed out by Oskar. --- gfx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx.c b/gfx.c index c7589316db..b010f034d7 100644 --- a/gfx.c +++ b/gfx.c @@ -1426,7 +1426,7 @@ static void GfxMainBlitter(byte *sprite, int x, int y, int mode) byte *src = bp.sprite_org; signed char b; - bp.sprite += (dst - src); + bp.sprite = dst + (bp.sprite - bp.sprite_org); while (totpix != 0) { assert(totpix > 0);