(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

@@ -53,7 +53,7 @@ HighScore _highscore_table[5][5]; // 4 difficulty-settings (+ network); top 5
DEFINE_OLD_POOL_GENERIC(Company, Company)
Company::Company(uint16 name_1, bool is_ai) : name_1(name_1), is_ai(is_ai)
Company::Company(uint16 name_1, bool is_ai) : name_1(name_1), location_of_HQ(INVALID_TILE), is_ai(is_ai)
{
for (uint j = 0; j < 4; j++) this->share_owners[j] = COMPANY_SPECTATOR;
}