summaryrefslogtreecommitdiff
path: root/src/functions.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-03-13 17:11:28 +0000
committeralberth <alberth@openttd.org>2010-03-13 17:11:28 +0000
commit7cc68f493d10ed81d24b9e7a0e9631436643869f (patch)
tree1f7fef2560b9bc81461bd8f17f21bdc1d80c2a91 /src/functions.h
parent19afc9fdc0f009c93f31ea8fccdf95ce1372cc58 (diff)
downloadopenttd-7cc68f493d10ed81d24b9e7a0e9631436643869f.tar.xz
(svn r19405) -Codechange: CheckOwnership() returns a CommandCost.
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 */