summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-09-10 08:28:32 +0000
committerrubidium <rubidium@openttd.org>2006-09-10 08:28:32 +0000
commit7a5cc51a36015dde9efe8d66baaca7f5cdf0e3cf (patch)
tree75f3f78c028958b46fb57badaba97dc6b6abd136
parentd62cc9df99bb5b836f7b39ac1ede6d133a6a1925 (diff)
downloadopenttd-7a5cc51a36015dde9efe8d66baaca7f5cdf0e3cf.tar.xz
(svn r6437) -Fix: reset the location of the last sound as that location can be outside the map when you are loading another (smaller) map. Thanks to MeusH for noticing.
-rw-r--r--industry_cmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/industry_cmd.c b/industry_cmd.c
index 60734db1b..4b330a03d 100644
--- a/industry_cmd.c
+++ b/industry_cmd.c
@@ -1903,6 +1903,7 @@ void InitializeIndustries(void)
_total_industries = 0;
_industry_sort_dirty = true;
+ _industry_sound_tile = 0;
}
const TileTypeProcs _tile_type_industry_procs = {