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 6acbb9af7..a6743b2ac 100644
--- a/src/functions.h
+++ b/src/functions.h
@@ -24,7 +24,7 @@ void TileLoopClearHelper(TileIndex tile);
bool CheckCompanyHasMoney(CommandCost &cost);
void SubtractMoneyFromCompany(CommandCost cost);
void SubtractMoneyFromCompanyFract(CompanyID company, CommandCost cost);
-bool CheckOwnership(Owner owner, TileIndex tile = 0);
+CommandCost CheckOwnership(Owner owner, TileIndex tile = 0);
CommandCost CheckTileOwnership(TileIndex tile);
/* misc functions */