Changeset - r6910:ec8f491fee01
[Not reviewed]
master
0 1 0
belugas - 17 years ago 2007-06-15 01:53:43
belugas@openttd.org
(svn r10163) -Fix(r8128): Industries had lost their random recoloring. A test was removed and is now reintroduced in another way.
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/industry_cmd.cpp
Show inline comments
 
@@ -280,6 +280,8 @@ static void DrawTile_Industry(TileInfo *
 
		if (HASBIT(_transparent_opt, TO_INDUSTRIES)) {
 
			SETBIT(image, PALETTE_MODIFIER_TRANSPARENT);
 
			pal = PALETTE_TO_TRANSPARENT;
 
		} else if (HASBIT(image, PALETTE_MODIFIER_COLOR) && dits->building.pal == PAL_NONE) {
 
			pal = GENERAL_SPRITE_COLOR(ind->random_color);
 
		} else {
 
			pal = dits->building.pal;
 
		}
0 comments (0 inline, 0 general)