(svn r679) Clarify bp.sprite assignment in GfxMainBlitter(). Pointed out by Oskar.
authorpasky
Fri, 19 Nov 2004 21:57:02 +0000
changeset 461 9129fe36ef0d
parent 460 f11659d28617
child 462 b995527cb51c
(svn r679) Clarify bp.sprite assignment in GfxMainBlitter(). Pointed out by Oskar.
gfx.c
--- a/gfx.c	Fri Nov 19 19:13:32 2004 +0000
+++ b/gfx.c	Fri Nov 19 21:57:02 2004 +0000
@@ -1426,7 +1426,7 @@
 			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);