(svn r17817) -Codechange: MakeWater actually made sea tiles, so rename it to MakeSea and unduplicate the code to make sea, rivers and canals.

This commit is contained in:
rubidium
2009-10-20 12:31:11 +00:00
parent 079b7fa034
commit c0efafc52d
3 changed files with 42 additions and 29 deletions

View File

@@ -926,7 +926,7 @@ bool AfterLoadGame()
MakeShore(t);
} else {
if (GetTileOwner(t) == OWNER_WATER) {
MakeWater(t);
MakeSea(t);
} else {
MakeCanal(t, GetTileOwner(t), Random());
}
@@ -1484,7 +1484,7 @@ bool AfterLoadGame()
if (IsWater(t)) {
Owner o = GetTileOwner(t);
if (o == OWNER_WATER) {
MakeWater(t);
MakeSea(t);
} else {
MakeCanal(t, o, Random());
}