From 3e481c4027b04ac85c6551e8a6e543ee0654b091 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 4 Jan 2010 11:35:12 +0000 Subject: (svn r18710) -Fix [FS#3478]: the wrong town is mentioned in the error when trying to make one way roads of town owned roads --- src/functions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/functions.h') 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 */ -- cgit v1.2.3-54-g00ecf