mirror of https://github.com/OpenTTD/OpenTTD
(svn r10215) -Fix r10214: forgot 2 cases of the same mistake
parent
b98e0ea648
commit
9ad02c11c6
|
@ -141,7 +141,7 @@ void Blitter_32bppSimple::DrawColorMappingRect(void *dst, int width, int height,
|
||||||
udst++;
|
udst++;
|
||||||
}
|
}
|
||||||
udst = udst - width + _screen.pitch;
|
udst = udst - width + _screen.pitch;
|
||||||
} while (height--);
|
} while (--height);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (pal == PALETTE_TO_STRUCT_GREY) {
|
if (pal == PALETTE_TO_STRUCT_GREY) {
|
||||||
|
@ -151,7 +151,7 @@ void Blitter_32bppSimple::DrawColorMappingRect(void *dst, int width, int height,
|
||||||
udst++;
|
udst++;
|
||||||
}
|
}
|
||||||
udst = udst - width + _screen.pitch;
|
udst = udst - width + _screen.pitch;
|
||||||
} while (height--);
|
} while (--height);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue