diff options
author | pasky <pasky@openttd.org> | 2004-11-19 21:57:02 +0000 |
---|---|---|
committer | pasky <pasky@openttd.org> | 2004-11-19 21:57:02 +0000 |
commit | 0f7e48ead23cc0df9fdf17eb18b2dde51d9f2285 (patch) | |
tree | c45a4c242b2b5d3420a44ab7f1d3de3c92266a7e | |
parent | 249438be886bfc9be4f8048ac7a6b0e695dcc2ac (diff) | |
download | openttd-0f7e48ead23cc0df9fdf17eb18b2dde51d9f2285.tar.xz |
(svn r679) Clarify bp.sprite assignment in GfxMainBlitter(). Pointed out by Oskar.
-rw-r--r-- | gfx.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |