diff options
author | rubidium <rubidium@openttd.org> | 2010-01-04 11:35:12 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-01-04 11:35:12 +0000 |
commit | 3e481c4027b04ac85c6551e8a6e543ee0654b091 (patch) | |
tree | 23b0414ed5bd96a2499dd1cf05a6957ac55cbedd /src/functions.h | |
parent | abb147d9742f349513d076a76b2957eb573d78e7 (diff) | |
download | openttd-3e481c4027b04ac85c6551e8a6e543ee0654b091.tar.xz |
(svn r18710) -Fix [FS#3478]: the wrong town is mentioned in the error when trying to make one way roads of town owned roads
Diffstat (limited to 'src/functions.h')
-rw-r--r-- | src/functions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/functions.h b/src/functions.h index 81d1872fd..64684886d 100644 --- a/src/functions.h +++ b/src/functions.h @@ -26,7 +26,7 @@ void TileLoopClearHelper(TileIndex tile); bool CheckCompanyHasMoney(CommandCost cost); void SubtractMoneyFromCompany(CommandCost cost); void SubtractMoneyFromCompanyFract(CompanyID company, CommandCost cost); -bool CheckOwnership(Owner owner); +bool CheckOwnership(Owner owner, TileIndex tile = 0); bool CheckTileOwnership(TileIndex tile); /* misc functions */ |