(svn r10892) -Fix [FS#1127]: trains would not get flooded when they are at the lower part of a tile that would become a coast tile after flooding. Patch by frosch.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
rubidium 17 years ago
parent b169fceabc
commit f38ea388dd

@ -567,6 +567,9 @@ static void TileLoopWaterHelper(TileIndex tile, const TileIndexDiffC *offs)
)) {
break;
}
Vehicle *v = FindFloodableVehicleOnTile(target);
if (v != NULL) FloodVehicle(v);
}
/* FALLTHROUGH */

Loading…
Cancel
Save