diff --git a/src/newgrf_industries.cpp b/src/newgrf_industries.cpp index a79efad21e..679ad6d811 100644 --- a/src/newgrf_industries.cpp +++ b/src/newgrf_industries.cpp @@ -465,6 +465,9 @@ uint32 IndustryLocationGetVariable(const ResolverObject *object, byte variable, /* Square of Euclidian distance from town */ case 0x8D: return min(DistanceSquare(industry->town->xy, tile), 65535); + + /* 32 random bits */ + case 0x8F: return Random(); } /* None of the special ones, so try the general ones */