mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r679) Clarify bp.sprite assignment in GfxMainBlitter(). Pointed out by Oskar.
This commit is contained in:
parent
249438be88
commit
0f7e48ead2
2
gfx.c
2
gfx.c
@ -1426,7 +1426,7 @@ static void GfxMainBlitter(byte *sprite, int x, int y, int mode)
|
|||||||
byte *src = bp.sprite_org;
|
byte *src = bp.sprite_org;
|
||||||
signed char b;
|
signed char b;
|
||||||
|
|
||||||
bp.sprite += (dst - src);
|
bp.sprite = dst + (bp.sprite - bp.sprite_org);
|
||||||
|
|
||||||
while (totpix != 0) {
|
while (totpix != 0) {
|
||||||
assert(totpix > 0);
|
assert(totpix > 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user