(svn r13066) -Fix [FS#2005]: loading of TTDP savegames with rivers in them.

This commit is contained in:
rubidium
2008-05-13 12:15:52 +00:00
parent 5d7851e8d6
commit 962273e242
2 changed files with 8 additions and 4 deletions

View File

@@ -2425,9 +2425,7 @@ bool AfterLoadGame()
/* Move river flag and update canals to use water class */
if (IsTileType(t, MP_WATER)) {
if (_m[t].m5 == 2) {
MakeRiver(t, Random());
} else {
if (GetWaterClass(t) != WATER_CLASS_RIVER) {
if (IsWater(t)) {
Owner o = GetTileOwner(t);
if (o == OWNER_WATER) {