--- deliantra/server/common/map.C 2017/01/29 02:47:04 1.220 +++ deliantra/server/common/map.C 2018/12/01 20:22:12 1.222 @@ -1,6 +1,7 @@ /* * This file is part of Deliantra, the Roguelike Realtime MMORPG. * + * Copyright (©) 2017,2018 Marc Alexander Lehmann / the Deliantra team * Copyright (©) 2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016 Marc Alexander Lehmann / Robin Redeker / the Deliantra team * Copyright (©) 2001-2003 Mark Wedel & Crossfire Development Team * Copyright (©) 1992 Frank Tore Johansen @@ -839,7 +840,7 @@ shoprace = 0; delete [] shopitems, shopitems = 0; - for (int i = 0; i < array_length (tile_path); i++) + for (int i = 0; i < ecb_array_length (tile_path); i++) tile_path [i] = 0; } @@ -856,7 +857,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 < array_length (tile_path); i++) + for (int i = 0; i < ecb_array_length (tile_path); i++) if (tile_map[i] == m) tile_map[i] = 0; }