summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-04-09 10:18:10 +0000
committerfrosch <frosch@openttd.org>2012-04-09 10:18:10 +0000
commitc425368a17fa4e48b9aea187aaa96ddc9aaf7bf5 (patch)
treeccfc8d0884b80e4d1690b646df3b4e4df38e2af4
parent585563e620f3c74f4ca3226c64891c1550506b5d (diff)
downloadopenttd-c425368a17fa4e48b9aea187aaa96ddc9aaf7bf5.tar.xz
(svn r24107) -Fix [FS#5143] (r3181): Glass-sprite of bubble-generator was not drawn anymore for completely constructed tiles.
-rw-r--r--src/industry_cmd.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp
index 891798424..128f231f8 100644
--- a/src/industry_cmd.cpp
+++ b/src/industry_cmd.cpp
@@ -254,9 +254,8 @@ static void IndustryDrawBubbleGenerator( const TileInfo *ti)
{
if (IsIndustryCompleted(ti->tile)) {
AddChildSpriteScreen(SPR_IT_BUBBLE_GENERATOR_BUBBLE, PAL_NONE, 5, _industry_anim_offs_bubbles[GetAnimationFrame(ti->tile)]);
- } else {
- AddChildSpriteScreen(SPR_IT_BUBBLE_GENERATOR_SPRING, PAL_NONE, 3, 67);
}
+ AddChildSpriteScreen(SPR_IT_BUBBLE_GENERATOR_SPRING, PAL_NONE, 3, 67);
}
static void IndustryDrawToyFactory(const TileInfo *ti)