(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.

This commit is contained in:
rubidium 2007-08-14 17:31:15 +00:00
parent b169fceabc
commit f38ea388dd
1 changed files with 3 additions and 0 deletions

View File

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