summaryrefslogtreecommitdiff
path: root/src/oldloader.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-01-25 13:54:27 +0000
committerfrosch <frosch@openttd.org>2008-01-25 13:54:27 +0000
commitd11aeb118c7a0b5f6c1900dfcdcfd97ea2333097 (patch)
tree1e10512396dbf36ae38008e0b1f39ee5b46e503e /src/oldloader.cpp
parenteeeeeb9336b28d53788ca9c909209908fbbb3ee2 (diff)
downloadopenttd-d11aeb118c7a0b5f6c1900dfcdcfd97ea2333097.tar.xz
(svn r11982) -Revert (r8738): Now we have shores in corners. No need to remove them from TTDP games.
Diffstat (limited to 'src/oldloader.cpp')
-rw-r--r--src/oldloader.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/oldloader.cpp b/src/oldloader.cpp
index 68a07ca2a..e5606f65f 100644
--- a/src/oldloader.cpp
+++ b/src/oldloader.cpp
@@ -1620,16 +1620,6 @@ static bool LoadOldMain(LoadgameState *ls)
* clear it for ourselves and let OTTD's rebuild PBS itself */
_m[i].m4 &= 0xF; /* Only keep the lower four bits; upper four is PBS */
break;
- case MP_WATER: {
- /* TTDPatch has all tiles touching water as coast (water)-type, we don't.
- * This is only true from a certain TTDP version, but there is no harm
- * in checking all the time */
- Slope s = GetTileSlope(i, NULL);
- if (s == SLOPE_ENW || s == SLOPE_NWS || s == SLOPE_SEN || s == SLOPE_WSE || IsSteepSlope(s)) {
- SetTileType(i, MP_CLEAR);
- SetTileOwner(i, OWNER_NONE);
- }
- } break;
default: break;
}
}