Fix bug clearing an Image with color=0 in rotsprite

Introduced in commit 35229e99a6
This commit is contained in:
David Capello 2015-07-28 11:06:35 -03:00
parent 8e2feb31bd
commit 58db0fba09

View File

@ -209,7 +209,6 @@ void rotsprite_image(Image* bmp, const Image* spr, const Image* mask,
}
clear_image(bmp_copy, maskColor);
clear_image(bmp_copy, 0);
scale_image(bmp_copy, bmp,
0, 0, bmp_copy->width(), bmp_copy->height(),
xmin, ymin, rot_width, rot_height);