(svn r1302) -Fix: [ 1091655 ] In some older maps somehow water is owned by
OWNER_NONE instead of OWNER_WATER. -Fix: On InitializeLandscape the map was made MP_WATER, but OWNER_NONE. When ConvertGroundTilesIntoWaterTiles() is not called, this gives big problems (see above). Now the owner is set to OWNER_WATER by default.
This commit is contained in:
@@ -483,7 +483,7 @@ void InitializeLandscape()
|
||||
uint map_size = MapSize();
|
||||
int i;
|
||||
|
||||
memset(_map_owner, OWNER_NONE, map_size);
|
||||
memset(_map_owner, OWNER_WATER, map_size);
|
||||
memset(_map2, 0, map_size * sizeof(uint16));
|
||||
memset(_map3_lo, 0, map_size);
|
||||
memset(_map3_hi, 0, map_size);
|
||||
|
||||
Reference in New Issue
Block a user