summaryrefslogtreecommitdiff
path: root/src/industry_map.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-11-11 18:22:06 +0000
committerrubidium <rubidium@openttd.org>2007-11-11 18:22:06 +0000
commit02a6debc111368a9986b753366f3b125a8505698 (patch)
tree4038a60897194fb350a498e90f1b2c5e3d460dfc /src/industry_map.h
parentdcbd2fdfc7f766fca285021071f0b30954ed6be7 (diff)
downloadopenttd-02a6debc111368a9986b753366f3b125a8505698.tar.xz
(svn r11412) -Fix (r11403): animation was not turned on properly.
-Fix (r11410): wrong assumption about random reseeds made the whole thing reseed way too often, making the animation look very ugly.
Diffstat (limited to 'src/industry_map.h')
-rw-r--r--src/industry_map.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/industry_map.h b/src/industry_map.h
index 3bfd45895..ea4579964 100644
--- a/src/industry_map.h
+++ b/src/industry_map.h
@@ -169,6 +169,7 @@ static inline void MakeIndustry(TileIndex t, IndustryID index, IndustryGfx gfx)
_m[t].m3 = 0;
_m[t].m4 = 0;
SetIndustryGfx(t, gfx);
+ _me[t].m7 = Random();
}
/**