summaryrefslogtreecommitdiff
path: root/src/newgrf_house.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_house.cpp
parentb4d7919f8ad3bc5b079422d392d15123d8880b3b (diff)
downloadopenttd-de27360549ec0afcc5090369cf05cfeafeda5868.tar.xz
(svn r22923) -Codechange: Move application of the construction stage into TileLayoutSpriteGroup::ProcessRegisters().
Diffstat (limited to 'src/newgrf_house.cpp')
-rw-r--r--src/newgrf_house.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/newgrf_house.cpp b/src/newgrf_house.cpp
index 29ddb9b50..42a90e20d 100644
--- a/src/newgrf_house.cpp
+++ b/src/newgrf_house.cpp
@@ -476,7 +476,6 @@ void DrawNewHouseTile(TileInfo *ti, HouseID house_id)
/* Limit the building stage to the number of stages supplied. */
const TileLayoutSpriteGroup *tlgroup = (const TileLayoutSpriteGroup *)group;
byte stage = GetHouseBuildingStage(ti->tile);
- stage = tlgroup->GetConstructionStageOffset(stage);
DrawTileLayout(ti, tlgroup, stage, house_id);
}
}