ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/map.C
(Generate patch)

Comparing deliantra/server/common/map.C (file contents):
Revision 1.221 by root, Sat Nov 17 23:40:00 2018 UTC vs.
Revision 1.222 by root, Sat Dec 1 20:22:12 2018 UTC

838 msg = 0; 838 msg = 0;
839 maplore = 0; 839 maplore = 0;
840 shoprace = 0; 840 shoprace = 0;
841 delete [] shopitems, shopitems = 0; 841 delete [] shopitems, shopitems = 0;
842 842
843 for (int i = 0; i < array_length (tile_path); i++) 843 for (int i = 0; i < ecb_array_length (tile_path); i++)
844 tile_path [i] = 0; 844 tile_path [i] = 0;
845} 845}
846 846
847maptile::~maptile () 847maptile::~maptile ()
848{ 848{
855 /* We need to look through all the maps and see if any maps 855 /* We need to look through all the maps and see if any maps
856 * are pointing at this one for tiling information. Since 856 * are pointing at this one for tiling information. Since
857 * tiling can be asymetric, we just can not look to see which 857 * tiling can be asymetric, we just can not look to see which
858 * maps this map tiles with and clears those. 858 * maps this map tiles with and clears those.
859 */ 859 */
860 for (int i = 0; i < array_length (tile_path); i++) 860 for (int i = 0; i < ecb_array_length (tile_path); i++)
861 if (tile_map[i] == m) 861 if (tile_map[i] == m)
862 tile_map[i] = 0; 862 tile_map[i] = 0;
863} 863}
864 864
865void 865void

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines