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
commit0253b1d02a0c1bd8eab0fb4021cfe9df5e632b05 (patch)
treec58ebfd54b27b42333fdb785f0bf98f81fe55e98 /src/newgrf_industries.cpp
parentc8ba8d930b8d0faf522315e2afc2e4d604060b5e (diff)
downloadopenttd-0253b1d02a0c1bd8eab0fb4021cfe9df5e632b05.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 */