diff options
Diffstat (limited to 'src/object.h')
-rw-r--r-- | src/object.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object.h b/src/object.h index bb2afd60c..f07ab3039 100644 --- a/src/object.h +++ b/src/object.h @@ -28,11 +28,11 @@ void UpdateCompanyHQ(TileIndex tile, uint score); * @param type The type of object to build. * @param tile The tile to build the northern tile of the object on. * @param owner The owner of the object. - * @param index A (generic) index to be stored on the tile, e.g. TownID for statues. + * @param town Town the tile is related with. * @pre All preconditions for building the object at that location * are met, e.g. slope and clearness of tiles are checked. */ -void BuildObject(ObjectType type, TileIndex tile, CompanyID owner = OWNER_NONE, uint index = 0); +void BuildObject(ObjectType type, TileIndex tile, CompanyID owner = OWNER_NONE, struct Town *town = NULL); /** Various object behaviours. */ |