diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/newgrf_industries.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newgrf_industries.cpp b/src/newgrf_industries.cpp index a79efad21..679ad6d81 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 */ |