src/newgrf_industries.cpp
changeset 10895 f6c15675bb06
parent 10892 5dc7334cc5d8
child 11090 3ac220ac9a47
--- a/src/newgrf_industries.cpp	Tue Jun 10 17:28:37 2008 +0000
+++ b/src/newgrf_industries.cpp	Tue Jun 10 17:47:55 2008 +0000
@@ -265,6 +265,8 @@
 			return industry->founder | (is_ai ? 0x10000 : 0) | (colours << 24);
 		}
 
+		case 0x46: return industry->construction_date; // Date when built - long format - (in days)
+
 		/* Get industry ID at offset param */
 		case 0x60: return GetIndustryIDAtOffset(GetNearbyTile(parameter, industry->xy), industry);
 
@@ -296,8 +298,6 @@
 		case 0x67:
 		case 0x68: return GetCountAndDistanceOfClosestInstance(parameter, variable == 0x68 ? GB(GetRegister(0x101), 0, 8) : 0, industry);
 
-		case 0x69: return industry->construction_date; // Date when built - long format - (in days)
-
 		/* Get a variable from the persistent storage */
 		case 0x7C: return industry->psa.Get(parameter);