Difference for server/move.c from version 1.26 to 1.27


version 1.26 version 1.27
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_move_c =   * static char *rcsid_move_c =
  *    "$Id: move.c,v 1.26 2003/02/17 02:37:38 mwedel Exp $";   *    "$Id: move.c,v 1.27 2003/02/20 06:46:57 mwedel Exp $";
  */   */
   
 /*  /*
Line 151
 
Line 151
     i = find_free_spot (op->arch,op->map,x,y,0,SIZEOFFREE);      i = find_free_spot (op->arch,op->map,x,y,0,SIZEOFFREE);
   else    else
     i = find_first_free_spot(op->arch,op->map,x,y);      i = find_first_free_spot(op->arch,op->map,x,y);
   
   if (i==-1)    if (i==-1)
     return 0; /* No free spot */      return 0; /* No free spot */
   
Line 160
 
Line 161
   for(tmp=op;tmp!=NULL;tmp=tmp->more)    for(tmp=op;tmp!=NULL;tmp=tmp->more)
     tmp->x=x+freearr_x[i]+(tmp->arch==NULL?0:tmp->arch->clone.x),      tmp->x=x+freearr_x[i]+(tmp->arch==NULL?0:tmp->arch->clone.x),
     tmp->y=y+freearr_y[i]+(tmp->arch==NULL?0:tmp->arch->clone.y);      tmp->y=y+freearr_y[i]+(tmp->arch==NULL?0:tmp->arch->clone.y);
   return insert_ob_in_map(op,op->map,originator,0) == NULL;  
       tmp = insert_ob_in_map(op,op->map,originator,0);
       if (op && op->type == PLAYER) MapNewmapCmd(op->contr);
       if (tmp) return 0;
       else return 1;
 }  }
   
 /*  /*


Legend:
line(s) removed in v.1.26 
line(s) changed
 line(s) added in v.1.27

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