diff options
author | planetmaker <planetmaker@openttd.org> | 2014-04-12 11:43:04 +0000 |
---|---|---|
committer | planetmaker <planetmaker@openttd.org> | 2014-04-12 11:43:04 +0000 |
commit | 2aa545a842063d06fe67ccb382b44a8ebcd56b48 (patch) | |
tree | a3ec811e589f227106e5549f59a8411860181072 /src/industry_cmd.cpp | |
parent | 911e0e80b88b4830207eed30409cd689d8f3a9ce (diff) | |
download | openttd-2aa545a842063d06fe67ccb382b44a8ebcd56b48.tar.xz |
(svn r26457) -Codechange: Remove unused parameter from SetIndustryCompleted
Diffstat (limited to 'src/industry_cmd.cpp')
-rw-r--r-- | src/industry_cmd.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index 6cd4c2902..9930057a3 100644 --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -518,7 +518,7 @@ static void TransportIndustryGoods(TileIndex tile) if (newgfx != INDUSTRYTILE_NOANIM) { ResetIndustryConstructionStage(tile); - SetIndustryCompleted(tile, true); + SetIndustryCompleted(tile); SetIndustryGfx(tile, newgfx); MarkTileDirtyByTile(tile); } @@ -718,7 +718,7 @@ static void MakeIndustryTileBigger(TileIndex tile) SetIndustryConstructionCounter(tile, 0); SetIndustryConstructionStage(tile, stage); StartStopIndustryTileAnimation(tile, IAT_CONSTRUCTION_STATE_CHANGE); - if (stage == INDUSTRY_COMPLETED) SetIndustryCompleted(tile, true); + if (stage == INDUSTRY_COMPLETED) SetIndustryCompleted(tile); MarkTileDirtyByTile(tile); @@ -854,7 +854,7 @@ static void TileLoop_Industry(TileIndex tile) case GFX_GOLD_MINE_TOWER_ANIMATED: gfx = GFX_GOLD_MINE_TOWER_NOT_ANIMATED; break; } SetIndustryGfx(tile, gfx); - SetIndustryCompleted(tile, true); + SetIndustryCompleted(tile); SetIndustryConstructionStage(tile, 3); DeleteAnimatedTile(tile); } |