forked from mirror/OpenTTD
(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:
@@ -567,6 +567,9 @@ static void TileLoopWaterHelper(TileIndex tile, const TileIndexDiffC *offs)
|
||||
)) {
|
||||
break;
|
||||
}
|
||||
|
||||
Vehicle *v = FindFloodableVehicleOnTile(target);
|
||||
if (v != NULL) FloodVehicle(v);
|
||||
}
|
||||
/* FALLTHROUGH */
|
||||
|
||||
|
Reference in New Issue
Block a user