Difference for common/map.c from version 1.51 to 1.52


version 1.51 version 1.52
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_map_c =   * static char *rcsid_map_c =
  *   "$Id: map.c,v 1.51 2003/01/14 07:29:25 mwedel Exp $";   *   "$Id: map.c,v 1.52 2003/03/03 05:13:08 mwedel Exp $";
  */   */
   
 /*  /*
Line 1220
 
Line 1220
  free_object(op);   free_object(op);
      }       }
  }   }
   #ifdef MANY_CORES
       /* I see periodic cores on metalforge where a map has been swapped out, but apparantly
        * an item on that map was not saved - look for that condition and die as appropriate -
        * this leaves more of the map data intact for better debugging.
        */
       for (op=objects; op!=NULL; op=op->next) {
    if (op->map == m) {
        LOG(llevDebug,"free_all_objects: object %s still on map after it should have been freed", op->name);
        abort();
    }
       }
   #endif
 }  }
   
 /*  /*
Line 1795
 
Line 1807
     /* Simple case - coordinates are within this local      /* Simple case - coordinates are within this local
      * map.       * map.
      */       */
   
     if (*x>=0 && *x<MAP_WIDTH(m) && *y>=0 && *y < MAP_HEIGHT(m))      if (*x>=0 && *x<MAP_WIDTH(m) && *y>=0 && *y < MAP_HEIGHT(m))
  return m;   return m;
   


Legend:
line(s) removed in v.1.51 
line(s) changed
 line(s) added in v.1.52

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:13