(svn r11934) -Codechange: add persistent random data for river and canal tiles.

This commit is contained in:
peter1138
2008-01-20 18:30:53 +00:00
parent 80931cdd13
commit b967c9918e
5 changed files with 27 additions and 12 deletions

View File

@@ -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);