diff options
author | rubidium <rubidium@openttd.org> | 2006-09-10 08:28:32 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2006-09-10 08:28:32 +0000 |
commit | eb543de4cdf4b67346be88dc53faef512674b177 (patch) | |
tree | 75f3f78c028958b46fb57badaba97dc6b6abd136 | |
parent | 8c33c92237f9a3afeaad8533b818c76781c0001f (diff) | |
download | openttd-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.
-rw-r--r-- | industry_cmd.c | 1 |
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 = { |