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.206 by root, Wed May 4 16:12:15 2011 UTC vs.
Revision 1.207 by root, Thu May 5 18:59:43 2011 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines