From 5d065845453b47791afec27a373b9ff9728ead1e Mon Sep 17 00:00:00 2001 From: truelight Date: Sat, 1 Jan 2005 19:18:48 +0000 Subject: (svn r1321) -Fix: Revision 1302 partly solved the problem and created an other. Should now really be solved.. now only MP_WATER is owned by OWNER_WATER --- ttd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ttd.c') diff --git a/ttd.c b/ttd.c index 8ccf1f00a..479cc9132 100644 --- a/ttd.c +++ b/ttd.c @@ -1241,6 +1241,8 @@ bool AfterLoadGame(uint version) BEGIN_TILE_LOOP(tile_cur, w, h, tile) if (IS_TILETYPE(tile_cur, MP_WATER) && _map_owner[tile_cur] != OWNER_WATER) _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; END_TILE_LOOP(tile_cur, w, h, tile) } -- cgit v1.2.3-54-g00ecf