summaryrefslogtreecommitdiff
path: root/src/newgrf_industries.cpp
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-01-28 03:33:41 +0000
committerbelugas <belugas@openttd.org>2008-01-28 03:33:41 +0000
commita1eb524b8162e3a4d69c1042dabd5e8e0fd14cf1 (patch)
treec58ebfd54b27b42333fdb785f0bf98f81fe55e98 /src/newgrf_industries.cpp
parentf22b0127afb482b48fbbbf0011bcaab7332a7ab3 (diff)
downloadopenttd-a1eb524b8162e3a4d69c1042dabd5e8e0fd14cf1.tar.xz
(svn r11997) -Fix(FS#1712, r11985): Remove the code temporary, until a better scheme is implemented.
Diffstat (limited to 'src/newgrf_industries.cpp')
-rw-r--r--src/newgrf_industries.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_industries.cpp b/src/newgrf_industries.cpp
index 679ad6d81..dd995263f 100644
--- a/src/newgrf_industries.cpp
+++ b/src/newgrf_industries.cpp
@@ -466,8 +466,8 @@ 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();
+ /* 32 random bits TODO! Wait for a better scheme that will not cause problems, MP desyncs and asserts */
+ // case 0x8F: return Random();
}
/* None of the special ones, so try the general ones */