mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-19 15:25:39 +00:00
(svn r11982) -Revert (r8738): Now we have shores in corners. No need to remove them from TTDP games.
This commit is contained in:
parent
eeeeeb9336
commit
d11aeb118c
@ -1620,16 +1620,6 @@ static bool LoadOldMain(LoadgameState *ls)
|
|||||||
* clear it for ourselves and let OTTD's rebuild PBS itself */
|
* 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 */
|
_m[i].m4 &= 0xF; /* Only keep the lower four bits; upper four is PBS */
|
||||||
break;
|
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;
|
default: break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user