diff --git a/water_cmd.c b/water_cmd.c index 7c95061cdd..3e88b76f45 100644 --- a/water_cmd.c +++ b/water_cmd.c @@ -544,7 +544,7 @@ static void TileLoopWaterHelper(TileIndex tile, const TileIndexDiffC *offs) // Middle part of bridge with clear land below? if ((_m[target].m5 & 0xF8) == 0xC0) { _m[target].m5 |= 0x08; - MarkTileDirtyByTile(tile); + MarkTileDirtyByTile(target); } break;