(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.
--- a/src/water_cmd.cpp Tue Aug 14 17:05:33 2007 +0000
+++ b/src/water_cmd.cpp Tue Aug 14 17:31:15 2007 +0000
@@ -567,6 +567,9 @@
)) {
break;
}
+
+ Vehicle *v = FindFloodableVehicleOnTile(target);
+ if (v != NULL) FloodVehicle(v);
}
/* FALLTHROUGH */