diff --git a/src/industry.h b/src/industry.h --- a/src/industry.h +++ b/src/industry.h @@ -123,7 +123,7 @@ struct Industry : PoolItemxy != 0; } + inline bool IsValid() const { return this->xy != 0; } }; struct IndustryTileTable {