diff options
author | peter1138 <peter1138@openttd.org> | 2008-01-20 18:30:53 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-01-20 18:30:53 +0000 |
commit | b967c9918e2eb6b6bc31ba10c9cb0e394273b218 (patch) | |
tree | 87986eebd3e482588635177f36db036e4a2f4124 /src/openttd.cpp | |
parent | 80931cdd131f4a47eb5f106dc38b7d0259a020f0 (diff) | |
download | openttd-b967c9918e2eb6b6bc31ba10c9cb0e394273b218.tar.xz |
(svn r11934) -Codechange: add persistent random data for river and canal tiles.
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index cff06481b..19436ea1e 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -1710,7 +1710,7 @@ bool AfterLoadGame() if (GB(_m[t].m5, 3, 2) == 0) { MakeClear(t, CLEAR_GRASS, 3); } else { - MakeCanal(t, (GetTileOwner(t) == OWNER_WATER) ? OWNER_NONE : GetTileOwner(t)); + MakeCanal(t, (GetTileOwner(t) == OWNER_WATER) ? OWNER_NONE : GetTileOwner(t), Random()); } } SetBridgeMiddle(t, axis); |