diff options
author | rubidium <rubidium@openttd.org> | 2010-08-03 12:36:40 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-03 12:36:40 +0000 |
commit | 92ac2e485b4a5837be4627860c0f555212052af9 (patch) | |
tree | 9a06eb96b5af88a2bf582e53683c31975bb9bcf4 /src/unmovable.h | |
parent | 1c86321d3526b70deecb5ea04eb3c878ed37808e (diff) | |
download | openttd-92ac2e485b4a5837be4627860c0f555212052af9.tar.xz |
(svn r20341) -Codechange: pass the tile of the HQ instead of the company to UpdateCompanyHQ
Diffstat (limited to 'src/unmovable.h')
-rw-r--r-- | src/unmovable.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/unmovable.h b/src/unmovable.h index 366889a7d..eaffe4dab 100644 --- a/src/unmovable.h +++ b/src/unmovable.h @@ -18,11 +18,10 @@ /** * Update the CompanyHQ to the state associated with the given score - * @param c The company to (possibly) update the HQ of. + * @param tile The (northern) tile of the company HQ, or INVALID_TILE. * @param score The current (performance) score of the company. - * @pre c != NULL */ -void UpdateCompanyHQ(Company *c, uint score); +void UpdateCompanyHQ(TileIndex tile, uint score); /** * Actually build the unmovable object. |