(svn r12762) -Fix: tabs after the first non-tab character are generally not okay (or lines starting with a space and then tabs).

This commit is contained in:
rubidium
2008-04-18 04:54:09 +00:00
parent 9d8fa486af
commit acafc26426
13 changed files with 58 additions and 58 deletions

View File

@@ -287,7 +287,7 @@ uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte par
/* 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);
case 0x65: return GetTownRadiusGroup(industry->town, tile) << 16 | min(DistanceManhattan(tile, industry->town->xy), 0xFFFF);
/* Get square of Euclidian distance of closes town */
case 0x66: return GetTownRadiusGroup(industry->town, tile) << 16 | min(DistanceSquare(tile, industry->town->xy), 0xFFFF);