Difference for server/time.c from version 1.82 to 1.83


version 1.82 version 1.83
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_time_c =   * static char *rcsid_time_c =
  *    "$Id: time.c,v 1.82 2005/12/05 22:58:35 akirschbaum Exp $";   *    "$Id: time.c,v 1.83 2005/12/10 14:27:10 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 740
 
Line 740
   
  retry++;   retry++;
   
  get_map_flags(op->map,&m1, op->x+freearr_x[absdir(op->direction-1)],   /* Need to check for P_OUT_OF_MAP: if the arrow is tavelling
    * over a corner in a tiled map, it is possible that
    * op->direction is within an adjacent map but either
    * op->direction-1 or op->direction+1 does not exist.
    */
    mflags = get_map_flags(op->map,&m1, op->x+freearr_x[absdir(op->direction-1)],
         op->y+freearr_y[absdir(op->direction-1)], &x1, &y1);          op->y+freearr_y[absdir(op->direction-1)], &x1, &y1);
  left = OB_TYPE_MOVE_BLOCK(op, (GET_MAP_MOVE_BLOCK(m1, x1, y1)));   left = (mflags & P_OUT_OF_MAP) ? 0 : OB_TYPE_MOVE_BLOCK(op, (GET_MAP_MOVE_BLOCK(m1, x1, y1)));
   
  get_map_flags(op->map,&m1, op->x+freearr_x[absdir(op->direction+1)],   mflags = get_map_flags(op->map,&m1, op->x+freearr_x[absdir(op->direction+1)],
     op->y+freearr_y[absdir(op->direction+1)], &x1, &y1);      op->y+freearr_y[absdir(op->direction+1)], &x1, &y1);
  right = OB_TYPE_MOVE_BLOCK(op, (GET_MAP_MOVE_BLOCK(m1, x1, y1)));   right = (mflags & P_OUT_OF_MAP) ? 0 : OB_TYPE_MOVE_BLOCK(op, (GET_MAP_MOVE_BLOCK(m1, x1, y1)));
   
  if(left==right)   if(left==right)
      op->direction=absdir(op->direction+4);       op->direction=absdir(op->direction+4);


Legend:
line(s) removed in v.1.82 
line(s) changed
 line(s) added in v.1.83

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