smallmap_gui.c
changeset 4481 aa3dd55ea06d
parent 4455 fed147abf037
child 4549 60410aa1aa88
--- a/smallmap_gui.c	Thu Aug 31 11:18:30 2006 +0000
+++ b/smallmap_gui.c	Thu Aug 31 11:25:00 2006 +0000
@@ -427,8 +427,7 @@
 	TileType t = GetEffectiveTileType(tile);
 
 	if (t == MP_INDUSTRY) {
-		byte color = _industry_smallmap_colors[GetIndustryGfx(tile)];
-		return color + (color << 8) + (color << 16) + (color << 24);
+		return _industry_smallmap_colors[GetIndustryGfx(tile)] * 0x01010101;
 	}
 
 	return ApplyMask(MKCOLOR(0x54545454), &_smallmap_vehicles_andor[t]);