mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 22:28:56 +00:00
(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:
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…
Reference in New Issue
Block a user