From 8a7cb108131247a20520f1f07995896894c23016 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Fri, 29 Oct 2021 20:03:29 +0100 Subject: [PATCH] Fix incorrect cast/colour operation in screenshot GetIndustryValue See: #307 --- src/screenshot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screenshot.cpp b/src/screenshot.cpp index da024d21c8..72a7f3b87f 100644 --- a/src/screenshot.cpp +++ b/src/screenshot.cpp @@ -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(0x01010101); + return GetIndustrySpec(industry_type)->map_colour; } default: return MKCOLOUR(GREY_SCALE(2));