summaryrefslogtreecommitdiff
path: root/landscape.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-01-01 19:18:48 +0000
committertruelight <truelight@openttd.org>2005-01-01 19:18:48 +0000
commit5d065845453b47791afec27a373b9ff9728ead1e (patch)
tree59686070c954e13741ddcb01e6dd211038d3f3af /landscape.c
parenta0716c39de1c7f047868f5dae91291d5808c6c5f (diff)
downloadopenttd-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 'landscape.c')
-rw-r--r--landscape.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/landscape.c b/landscape.c
index 022f49557..f10e699ca 100644
--- a/landscape.c
+++ b/landscape.c
@@ -483,12 +483,12 @@ void InitializeLandscape()
uint map_size = MapSize();
int i;
- memset(_map_owner, OWNER_WATER, map_size);
+ memset(_map_owner, OWNER_NONE, map_size);
memset(_map2, 0, map_size * sizeof(uint16));
memset(_map3_lo, 0, map_size);
memset(_map3_hi, 0, map_size);
memset(_map_extra_bits, 0, map_size / 4);
- memset(_map_type_and_height, MP_WATER << 4, map_size);
+ memset(_map_type_and_height, MP_CLEAR << 4, map_size);
for(i=0; i!=TILES_Y-1; i++)
memset(_map_type_and_height + i*TILES_X, 0, TILES_X-1);