Difference for common/map.c from version 1.64 to 1.65


version 1.64 version 1.65
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_map_c =   * static char *rcsid_map_c =
  *   "$Id: map.c,v 1.64 2004/04/16 06:23:41 mwedel Exp $";   *   "$Id: map.c,v 1.65 2004/08/18 06:29:24 mwedel Exp $";
  */   */
   
 /*  /*
Line 492
 
Line 492
  insert_ob_in_map(op,m,op,INS_NO_MERGE | INS_NO_WALK_ON | INS_ABOVE_FLOOR_ONLY);   insert_ob_in_map(op,m,op,INS_NO_MERGE | INS_NO_WALK_ON | INS_ABOVE_FLOOR_ONLY);
      else       else
  insert_ob_in_map(op,m,op,INS_NO_MERGE | INS_NO_WALK_ON | INS_ON_TOP);   insert_ob_in_map(op,m,op,INS_NO_MERGE | INS_NO_WALK_ON | INS_ON_TOP);
      if (op->inv) sum_weight(op);       if (op->inv) {
    object *invop, *next;
   
    /* Clear out any objects without archetypes, as they will just cause
    * crashes later on.
    */
    for (invop = op->inv; invop; invop=next) {
        next = invop->above;
        if (!invop->arch) {
    LOG(llevDebug,"Discarding object without arch: %s\n", invop->name?invop->name:"(null)");
    remove_ob(invop);
    free_object(invop);
        }
    }
    sum_weight(op);
        }
      prev=op,last_more=op;       prev=op,last_more=op;
      break;       break;
   


Legend:
line(s) removed in v.1.64 
line(s) changed
 line(s) added in v.1.65

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