summaryrefslogtreecommitdiff
path: root/src/industry_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/industry_map.h')
-rw-r--r--src/industry_map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_map.h b/src/industry_map.h
index 80c05cc09..370f9b37d 100644
--- a/src/industry_map.h
+++ b/src/industry_map.h
@@ -109,7 +109,7 @@ static inline void SetIndustryCompleted(TileIndex tile, bool isCompleted)
static inline byte GetIndustryConstructionStage(TileIndex tile)
{
assert(IsTileType(tile, MP_INDUSTRY));
- return GB(_m[tile].m1, 0, 2);
+ return IsIndustryCompleted(tile) ? (byte)INDUSTRY_COMPLETED : GB(_m[tile].m1, 0, 2);
}
/**