(svn r14812) -Codechange: use INVALID_TILE instead of 0 to mark company without HQ

This commit is contained in:
smatz
2009-01-03 17:11:52 +00:00
parent 6512d717e1
commit afef22e3e7
8 changed files with 23 additions and 17 deletions

View File

@@ -56,7 +56,7 @@ struct Company : PoolItem<Company, CompanyByte, &_Company_pool> {
uint32 cargo_types; ///< which cargo types were transported the last year
TileIndex location_of_HQ;
TileIndex location_of_HQ; ///< northern tile of HQ ; INVALID_TILE when there is none
TileIndex last_build_coordinate;
OwnerByte share_owners[4];