smallmap_gui.c
changeset 4481 aa3dd55ea06d
parent 4455 fed147abf037
child 4549 60410aa1aa88
equal deleted inserted replaced
4480:2dfb09aaa11c 4481:aa3dd55ea06d
   425 static inline uint32 GetSmallMapIndustriesPixels(TileIndex tile)
   425 static inline uint32 GetSmallMapIndustriesPixels(TileIndex tile)
   426 {
   426 {
   427 	TileType t = GetEffectiveTileType(tile);
   427 	TileType t = GetEffectiveTileType(tile);
   428 
   428 
   429 	if (t == MP_INDUSTRY) {
   429 	if (t == MP_INDUSTRY) {
   430 		byte color = _industry_smallmap_colors[GetIndustryGfx(tile)];
   430 		return _industry_smallmap_colors[GetIndustryGfx(tile)] * 0x01010101;
   431 		return color + (color << 8) + (color << 16) + (color << 24);
       
   432 	}
   431 	}
   433 
   432 
   434 	return ApplyMask(MKCOLOR(0x54545454), &_smallmap_vehicles_andor[t]);
   433 	return ApplyMask(MKCOLOR(0x54545454), &_smallmap_vehicles_andor[t]);
   435 }
   434 }
   436 
   435