From 92ac2e485b4a5837be4627860c0f555212052af9 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 3 Aug 2010 12:36:40 +0000 Subject: (svn r20341) -Codechange: pass the tile of the HQ instead of the company to UpdateCompanyHQ --- src/unmovable.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/unmovable.h') 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. -- cgit v1.2.3-54-g00ecf