diff -r 9a0a07c109d0 -r 1914f26aee04 src/industry_cmd.cpp --- a/src/industry_cmd.cpp Mon Jun 18 08:17:31 2007 +0000 +++ b/src/industry_cmd.cpp Mon Jun 18 10:48:15 2007 +0000 @@ -336,7 +336,7 @@ } } -static int32 ClearTile_Industry(TileIndex tile, byte flags) +static CommandCost ClearTile_Industry(TileIndex tile, byte flags) { Industry *i = GetIndustryByTile(tile); const IndustrySpec *indspec = GetIndustrySpec(i->type); @@ -1469,7 +1469,7 @@ * @param p2 unused * @return index of the newly create industry, or CMD_ERROR if it failed */ -int32 CmdBuildIndustry(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) +CommandCost CmdBuildIndustry(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) { int num; const IndustryTileTable * const *itt;