Fix issue

This commit is contained in:
Thomas 2015-06-01 15:14:15 +02:00
parent f262ef977d
commit a3368c4a54
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ bool sprite_file_import(const char *path, rct_g1_element *outElement, uint8 **ou
}
src += 4;
if (is_transparent_pixel(src)) {
if (paletteIndex == -1) {
if (pixels != 0) {
x--;
src -= 4;