summaryrefslogtreecommitdiff
path: root/src/newgrf_industrytiles.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-09-11 15:09:13 +0000
committerfrosch <frosch@openttd.org>2011-09-11 15:09:13 +0000
commitde27360549ec0afcc5090369cf05cfeafeda5868 (patch)
treebeff25700a4261b74ac951c1c9a8d6c070c3248b /src/newgrf_industrytiles.cpp
parentb4d7919f8ad3bc5b079422d392d15123d8880b3b (diff)
downloadopenttd-de27360549ec0afcc5090369cf05cfeafeda5868.tar.xz
(svn r22923) -Codechange: Move application of the construction stage into TileLayoutSpriteGroup::ProcessRegisters().
Diffstat (limited to 'src/newgrf_industrytiles.cpp')
-rw-r--r--src/newgrf_industrytiles.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/newgrf_industrytiles.cpp b/src/newgrf_industrytiles.cpp
index 2aa636712..02bab3130 100644
--- a/src/newgrf_industrytiles.cpp
+++ b/src/newgrf_industrytiles.cpp
@@ -263,7 +263,6 @@ bool DrawNewIndustryTile(TileInfo *ti, Industry *i, IndustryGfx gfx, const Indus
/* Limit the building stage to the number of stages supplied. */
const TileLayoutSpriteGroup *tlgroup = (const TileLayoutSpriteGroup *)group;
byte stage = GetIndustryConstructionStage(ti->tile);
- stage = tlgroup->GetConstructionStageOffset(stage);
IndustryDrawTileLayout(ti, tlgroup, i->random_colour, stage, gfx);
return true;
}