Difference for common/object.c from version 1.114 to 1.115


version 1.114 version 1.115
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_object_c =   * static char *rcsid_object_c =
  *   "$Id: object.c,v 1.114 2005/11/30 20:59:09 akirschbaum Exp $";   *   "$Id: object.c,v 1.115 2005/12/05 22:58:34 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 1505
 
Line 1505
     }      }
     if(op->more!=NULL) {      if(op->more!=NULL) {
  /* The part may be on a different map. */   /* The part may be on a different map. */
  if (insert_ob_in_map(op->more,op->more->map,originator,flag) == NULL) {  
    object *more = op->more;
   
    /* Debugging information so you can see the last coordinates this object had */
    more->ox = more->x;
    more->oy = more->y;
    more->map = get_map_from_coord(m, &more->x, &more->y);
   
    if (insert_ob_in_map(more, more->map, originator, flag) == NULL) {
      if ( ! op->head)       if ( ! op->head)
  LOG (llevError, "BUG: insert_ob_in_map(): inserting op->more killed op\n");   LOG (llevError, "BUG: insert_ob_in_map(): inserting op->more killed op\n");
      return NULL;       return NULL;


Legend:
line(s) removed in v.1.114 
line(s) changed
 line(s) added in v.1.115

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