diff options
author | darkvater <darkvater@openttd.org> | 2005-01-03 18:40:41 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2005-01-03 18:40:41 +0000 |
commit | a72d993e65df5e3ad811a25227c2fce04925f461 (patch) | |
tree | 6a0aa2e165e43a956a954eef59550dddb4c558c1 | |
parent | 3ee8697bbf8996d7cfff0d9f140f5e6aa88fcdb4 (diff) | |
download | openttd-a72d993e65df5e3ad811a25227c2fce04925f461.tar.xz |
(svn r1342) -Fix: [1094596] Problem with ship depot; upon load it is also given owner OWNER_WATER
-rw-r--r-- | ttd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1238,7 +1238,7 @@ bool AfterLoadGame(uint version) uint h = MapSizeY(); BEGIN_TILE_LOOP(tile_cur, w, h, tile) - if (IS_TILETYPE(tile_cur, MP_WATER) && _map_owner[tile_cur] != OWNER_WATER) + if (IS_TILETYPE(tile_cur, MP_WATER) && _map_owner[tile_cur] >= MAX_PLAYERS) _map_owner[tile_cur] = OWNER_WATER; if (!IS_TILETYPE(tile_cur, MP_WATER) && _map_owner[tile_cur] == OWNER_WATER) _map_owner[tile_cur] = OWNER_NONE; |