Fix incorrect cast/colour operation in screenshot GetIndustryValue

See: #307
pull/332/head
Jonathan G Rennison 3 years ago
parent 23497dea35
commit 8a7cb10813

@ -1240,7 +1240,7 @@ static byte GetIndustryValue(TileIndex tile)
case MP_INDUSTRY: {
const IndustryType industry_type = Industry::GetByTile(tile)->type;
return GetIndustrySpec(industry_type)->map_colour * static_cast<byte>(0x01010101);
return GetIndustrySpec(industry_type)->map_colour;
}
default:
return MKCOLOUR(GREY_SCALE(2));

Loading…
Cancel
Save