(svn r11375) -Fix [FS#1397]: the industry recolour map was always applied when recolouring was turned on, instead of only applying it when the colour translation is '0'.
--- a/src/newgrf_industrytiles.cpp Sun Nov 04 00:08:57 2007 +0000
+++ b/src/newgrf_industrytiles.cpp Sun Nov 04 11:28:36 2007 +0000
@@ -182,7 +182,9 @@
if (IS_CUSTOM_SPRITE(image)) image += stage;
if (HASBIT(image, PALETTE_MODIFIER_COLOR)) {
- pal = GENERAL_SPRITE_COLOR(rnd_color);
+ if (pal == 0) {
+ pal = GENERAL_SPRITE_COLOR(rnd_color);
+ }
} else {
pal = PAL_NONE;
}