diff options
author | frosch <frosch@openttd.org> | 2011-07-09 18:10:48 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-07-09 18:10:48 +0000 |
commit | 570da01d3a65c39083e6846b755043517f5897b5 (patch) | |
tree | ad065e2946b5be21e6dbdb8830b2d3ab082aa5e5 /src/saveload | |
parent | 8565703a4c86c776665df6dae5bb6bdab949ce58 (diff) | |
download | openttd-570da01d3a65c39083e6846b755043517f5897b5.tar.xz |
(svn r22644) -Codechange: Use IsShipDepotTile() instead of single water- and depottests. (adf88)
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/afterload.cpp | 2 |
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; } } |