(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 859ab734e211
parent 4586 0e814c8f5c64
child 4588 79d526b3d3ce
(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 = {