summaryrefslogtreecommitdiff
path: root/src/functions.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-03-07 20:44:05 +0000
committeralberth <alberth@openttd.org>2010-03-07 20:44:05 +0000
commit40f106ba7c2b0055f61e652674701bce53fb06a6 (patch)
tree4762f0523de8c1b7c40f469f9cee3ea8cb1b5a1e /src/functions.h
parent8f335d4cbd46ef88fabd476a747cf0d4dc18add2 (diff)
downloadopenttd-40f106ba7c2b0055f61e652674701bce53fb06a6.tar.xz
(svn r19372) -Codechange: CheckTileOwnership() 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 28c8f16bb..6acbb9af7 100644
--- a/src/functions.h
+++ b/src/functions.h
@@ -25,7 +25,7 @@ bool CheckCompanyHasMoney(CommandCost &cost);
void SubtractMoneyFromCompany(CommandCost cost);
void SubtractMoneyFromCompanyFract(CompanyID company, CommandCost cost);
bool CheckOwnership(Owner owner, TileIndex tile = 0);
-bool CheckTileOwnership(TileIndex tile);
+CommandCost CheckTileOwnership(TileIndex tile);
/* misc functions */
/**