summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/saveload/afterload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp
index cae47b0ea..1ad7f5493 100644
--- a/src/saveload/afterload.cpp
+++ b/src/saveload/afterload.cpp
@@ -1514,7 +1514,7 @@ bool AfterLoadGame()
*/
if (IsSavegameVersionBefore(83)) {
for (TileIndex t = 0; t < map_size; t++) {
- if (IsTileType(t, MP_WATER) && IsShipDepot(t)) {
+ if (IsShipDepotTile(t)) {
_m[t].m4 = (TileHeight(t) == 0) ? OWNER_WATER : OWNER_NONE;
}
}