(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
This commit is contained in:
truelight
2005-01-01 19:18:48 +00:00
parent aacd9f7b0a
commit 25752eabfe
2 changed files with 4 additions and 2 deletions

2
ttd.c
View File

@@ -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)
}