Fixed bug where starter background wouldn't get flipped. (y, not x! d'oh!)
This commit is contained in:
parent
4d3064b7d0
commit
01111df2d3
2 changed files with 2 additions and 7 deletions
|
|
@ -6,18 +6,13 @@ Copyright (c) 2004 by Bill Kendrick
|
|||
bill@newbreedsoftware.com
|
||||
http://www.newbreedsoftware.com/tuxpaint/
|
||||
|
||||
September 18, 2004
|
||||
September 21, 2004
|
||||
|
||||
|
||||
BUGS!
|
||||
-----
|
||||
* Get Starters to work properly in 800x600 mode.
|
||||
|
||||
* When loading an image based on a Starter (either via Open or if it was
|
||||
loaded automatically at startup), if the Starter has a bkgd. and the
|
||||
image had been flipped at any point, the Starter background doesn't get
|
||||
flipped (so Eraser doesn't work right).
|
||||
|
||||
* Keep track of Mirror and Flip actions in Undo history, so that
|
||||
Starters can be un/re-flipped and un/re-mirrored, and "starter_mirrored"
|
||||
and "starter_flipped" flags can be toggled.
|
||||
|
|
|
|||
|
|
@ -12973,7 +12973,7 @@ void flip_starter(void)
|
|||
src.h = 1;
|
||||
|
||||
dest.x = 0;
|
||||
dest.y = orig->h - x - 1;
|
||||
dest.y = orig->h - y - 1;
|
||||
|
||||
SDL_BlitSurface(orig, &src, img_starter_bkgd, &dest);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue