diff --git a/src/object.h b/src/object.h --- a/src/object.h +++ b/src/object.h @@ -29,10 +29,11 @@ void UpdateCompanyHQ(TileIndex tile, uin * @param tile The tile to build the northern tile of the object on. * @param owner The owner of the object. * @param town Town the tile is related with. + * @param view The view for the object. * @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, struct Town *town = NULL); +void BuildObject(ObjectType type, TileIndex tile, CompanyID owner = OWNER_NONE, struct Town *town = NULL, uint8 view = 0); void PlaceProc_Object(TileIndex tile); void ShowBuildObjectPicker(struct Window *w);