Difference for server/move.c from version 1.32 to 1.33


version 1.32 version 1.33
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_move_c =   * static char *rcsid_move_c =
  *    "$Id: move.c,v 1.32 2004/04/16 06:23:43 mwedel Exp $";   *    "$Id: move.c,v 1.33 2004/08/20 20:02:10 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 291
 
Line 291
     object *tmp, *more;      object *tmp, *more;
     sint16 tx, ty;      sint16 tx, ty;
     int mflags;      int mflags;
       mapstruct *m2;
   
     if (op->head)       if (op->head)
  op = op->head;   op = op->head;
Line 299
 
Line 300
  tx = x + more->x - op->x;   tx = x + more->x - op->x;
  ty = y + more->y - op->y;   ty = y + more->y - op->y;
   
  mflags = get_map_flags(m, &m, tx, ty, &tx, &ty);   mflags = get_map_flags(m, &m2, tx, ty, &tx, &ty);
   
  if (mflags & P_OUT_OF_MAP)   if (mflags & P_OUT_OF_MAP)
      return 1;       return 1;
   
  for (tmp = get_map_ob (m, tx, ty); tmp; tmp=tmp->above) {   for (tmp = get_map_ob (m2, tx, ty); tmp; tmp=tmp->above) {
      if (tmp->head == op || tmp == op)       if (tmp->head == op || tmp == op)
  continue;   continue;
   


Legend:
line(s) removed in v.1.32 
line(s) changed
 line(s) added in v.1.33

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