Page 1 of 1

Incorrect graphics for desal plant

Posted: 26 Sep 2005 07:17
by DaleStan
Alpha 56 broke the Desal plant. In that version, and every version since then, instead of the graphics that should appear, the game is graced with something that looks like this.

This appears even if the desal plant is the only file in newgrfw.cfg.

On the off-chance that it's significant, I've attached my config too.

Posted: 26 Sep 2005 12:35
by Patchman
Is the sprite in question set to use colour translation?

Posted: 26 Sep 2005 15:49
by DaleStan
Yes. The translation sprite number is set to 0, and the wiki states that
For industry tiles, if [the color translation special sprite number] is zero, but recoloring is turned on in bits 14-15, the color of the containing industry will automatically be applied.
At least part of that is obviously working; there are several different colorings that appear on that sprite, but they are all similarly incorrect.

Posted: 26 Sep 2005 19:57
by Csaboka
OK, bug found and fixed :)

It was a small error I made during restructuring the house/industry tile drawing code; it made all new industry tiles to use the wrong recoloring map. The next alpha should fix this.

Desal plant

Posted: 26 Sep 2005 22:26
by wildcard
[quote="Csaboka"]OK, bug found and fixed :)

Guys, thanks for responding and addressing the issue so promptly
regards
wildcard