(svn r10669) -Codechange: Removed redundant comment
authorbelugas
Tue, 24 Jul 2007 01:26:57 +0000
changeset 7810 182353b0ad23
parent 7809 40156c450f13
child 7811 306c5f3a8e37
(svn r10669) -Codechange: Removed redundant comment
-Codechange: Add placeholder for yet another industry "variable" to code
src/newgrf_industries.cpp
--- a/src/newgrf_industries.cpp	Mon Jul 23 19:30:36 2007 +0000
+++ b/src/newgrf_industries.cpp	Tue Jul 24 01:26:57 2007 +0000
@@ -178,7 +178,7 @@
 		}
 
 		/* Distance of nearest industry of given type */
-		case 0x64: return GetClosestIndustry(tile, MapNewGRFIndustryType(parameter, indspec->grf_prop.grffile->grfid), industry); // Distance of nearest industry of given type
+		case 0x64: return GetClosestIndustry(tile, MapNewGRFIndustryType(parameter, indspec->grf_prop.grffile->grfid), industry);
 		/* Get town zone and Manhattan distance of closest town */
  		case 0x65: return GetTownRadiusGroup(industry->town, tile) << 16 | min(DistanceManhattan(tile, industry->town->xy), 0xFFFF);
 		/* Get square of Euclidian distance of closes town */
@@ -189,6 +189,7 @@
 		 * A lot more should be done, since it has to check for local id, grf id etc...
 		 * let's just say it is a beginning ;) */
 		case 0x67: return GetIndustryTypeCount(industry->type) << 16 | 0;
+		case 0x68: break;
 
 		/* Industry structure access*/
 		case 0x80: return industry->xy;