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 | 9ca929c812fe06cab248feb00fc830e00363ea95 (patch) | |
tree | 87986eebd3e482588635177f36db036e4a2f4124 /src/openttd.cpp | |
parent | ffb9ca164ea4661b2d854e00aa81e43b2dc5d852 (diff) | |
download | openttd-9ca929c812fe06cab248feb00fc830e00363ea95.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); |