changeset 3321 | 4061bfef1830 |
parent 3320 | e9e284ab853a |
child 3331 | da6bbabbb6cc |
--- a/industry_map.h Fri Mar 24 13:31:17 2006 +0000 +++ b/industry_map.h Fri Mar 24 13:46:45 2006 +0000 @@ -16,6 +16,12 @@ } +static inline bool IsIndustryCompleted(TileIndex tile) +{ + return HASBIT(_m[tile].m1, 7); +} + + static inline void MakeIndustry(TileIndex t, uint index, uint gfx) { SetTileType(t, MP_INDUSTRY);