summaryrefslogtreecommitdiff
path: root/src/functions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/functions.h')
-rw-r--r--src/functions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/functions.h b/src/functions.h
index 64684886d..559f94846 100644
--- a/src/functions.h
+++ b/src/functions.h
@@ -23,7 +23,7 @@ void DrawClearLandFence(const TileInfo *ti);
void TileLoopClearHelper(TileIndex tile);
/* company_cmd.cpp */
-bool CheckCompanyHasMoney(CommandCost cost);
+bool CheckCompanyHasMoney(CommandCost &cost);
void SubtractMoneyFromCompany(CommandCost cost);
void SubtractMoneyFromCompanyFract(CompanyID company, CommandCost cost);
bool CheckOwnership(Owner owner, TileIndex tile = 0);