mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r11997) -Fix(FS#1712, r11985): Remove the code temporary, until a better scheme is implemented.
This commit is contained in:
parent
f22b0127af
commit
a1eb524b81
@ -466,8 +466,8 @@ uint32 IndustryLocationGetVariable(const ResolverObject *object, byte variable,
|
|||||||
/* Square of Euclidian distance from town */
|
/* Square of Euclidian distance from town */
|
||||||
case 0x8D: return min(DistanceSquare(industry->town->xy, tile), 65535);
|
case 0x8D: return min(DistanceSquare(industry->town->xy, tile), 65535);
|
||||||
|
|
||||||
/* 32 random bits */
|
/* 32 random bits TODO! Wait for a better scheme that will not cause problems, MP desyncs and asserts */
|
||||||
case 0x8F: return Random();
|
// case 0x8F: return Random();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* None of the special ones, so try the general ones */
|
/* None of the special ones, so try the general ones */
|
||||||
|
Loading…
Reference in New Issue
Block a user