summaryrefslogtreecommitdiff
path: root/industry_cmd.c
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
commiteb543de4cdf4b67346be88dc53faef512674b177 (patch)
tree75f3f78c028958b46fb57badaba97dc6b6abd136 /industry_cmd.c
parent8c33c92237f9a3afeaad8533b818c76781c0001f (diff)
downloadopenttd-eb543de4cdf4b67346be88dc53faef512674b177.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.
Diffstat (limited to 'industry_cmd.c')
-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 = {