Fixed pixeldirt when selecting right-most paint bucket.

Also moved the paint bucket down a little, which looks better.
This commit is contained in:
Karl Ove Hufthammer 2004-07-06 14:45:30 +00:00
parent 3a7f3ae355
commit b39da65dcb
2 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Before After
Before After

View file

@ -5933,7 +5933,7 @@ void draw_colors(int enabled)
if (i == cur_color && enabled)
{
dest.x = (i * ((WINDOW_WIDTH - 96) / NUM_COLORS)) + 96;
dest.y = 40 + ((NUM_TOOLS / 2) * 48) + HEIGHTOFFSET;
dest.y = 44 + ((NUM_TOOLS / 2) * 48) + HEIGHTOFFSET;
SDL_BlitSurface(img_paintcan, NULL, screen, &dest);
}