--- deliantra/server/common/map.C 2011/05/04 16:12:15 1.206 +++ deliantra/server/common/map.C 2011/05/05 18:59:43 1.207 @@ -837,7 +837,7 @@ shoprace = 0; delete [] shopitems, shopitems = 0; - for (int i = 0; i < TILE_NUM; i++) + for (int i = 0; i < array_length (tile_path); i++) tile_path [i] = 0; } @@ -854,7 +854,7 @@ * tiling can be asymetric, we just can not look to see which * maps this map tiles with and clears those. */ - for (int i = 0; i < TILE_NUM; i++) + for (int i = 0; i < array_length (tile_path); i++) if (tile_map[i] == m) tile_map[i] = 0; }