diff options
author | smatz <smatz@openttd.org> | 2009-01-03 17:11:52 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-01-03 17:11:52 +0000 |
commit | afef22e3e7caeb41d94115bfd000b4cce68e430d (patch) | |
tree | 1b6c7083c14efc8630c4839005e7b1c3c4610160 /src/company_cmd.cpp | |
parent | 6512d717e168fd1a5253a7ebe31e772824131de7 (diff) | |
download | openttd-afef22e3e7caeb41d94115bfd000b4cce68e430d.tar.xz |
(svn r14812) -Codechange: use INVALID_TILE instead of 0 to mark company without HQ
Diffstat (limited to 'src/company_cmd.cpp')
-rw-r--r-- | src/company_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp index 6cba226c6..8dc65f4c9 100644 --- a/src/company_cmd.cpp +++ b/src/company_cmd.cpp @@ -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; } |