(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.
authorrubidium
Sun, 10 Sep 2006 08:28:32 +0000
changeset 4587 47bdc67193da
parent 4586 3a2400bc8fdf
child 4588 51aaef8bba31
(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.
industry_cmd.c
--- a/industry_cmd.c	Sun Sep 10 04:59:27 2006 +0000
+++ b/industry_cmd.c	Sun Sep 10 08:28:32 2006 +0000
@@ -1903,6 +1903,7 @@
 
 	_total_industries = 0;
 	_industry_sort_dirty = true;
+	_industry_sound_tile = 0;
 }
 
 const TileTypeProcs _tile_type_industry_procs = {