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
commit21c02fee879d8eb00255f0ebe3517bb9c90f39f5 (patch)
tree4038a60897194fb350a498e90f1b2c5e3d460dfc /src/industry_map.h
parent9758a765125ff65930eb8ccf96657947b45a785c (diff)
downloadopenttd-21c02fee879d8eb00255f0ebe3517bb9c90f39f5.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();
}
/**