diff options
author | truelight <truelight@openttd.org> | 2005-01-01 19:18:48 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-01-01 19:18:48 +0000 |
commit | 5d065845453b47791afec27a373b9ff9728ead1e (patch) | |
tree | 59686070c954e13741ddcb01e6dd211038d3f3af /ttd.c | |
parent | a0716c39de1c7f047868f5dae91291d5808c6c5f (diff) | |
download | openttd-5d065845453b47791afec27a373b9ff9728ead1e.tar.xz |
(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
Diffstat (limited to 'ttd.c')
-rw-r--r-- | ttd.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) } |