Difference for server/move.c from version 1.29 to 1.30


version 1.29 version 1.30
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_move_c =   * static char *rcsid_move_c =
  *    "$Id: move.c,v 1.29 2003/09/04 06:25:32 temitchell Exp $";   *    "$Id: move.c,v 1.30 2004/03/23 07:52:31 mwedel Exp $";
  */   */
   
 /*  /*
Line 379
 
Line 379
     /* TODO: allow multi arch pushing. Can't be very difficult */      /* TODO: allow multi arch pushing. Can't be very difficult */
     if (who->more == NULL && owner == pusher) {      if (who->more == NULL && owner == pusher) {
  int temp;   int temp;
    mapstruct *m;
   
  remove_ob(who);   remove_ob(who);
  remove_ob(pusher);   remove_ob(pusher);
  temp = pusher->x;   temp = pusher->x;
  pusher->x = who->x;   pusher->x = who->x;
  who->x = temp;   who->x = temp;
   
  temp = pusher->y;   temp = pusher->y;
  pusher->y = who->y;   pusher->y = who->y;
  who->y = temp;   who->y = temp;
   
    m = pusher->map;
    pusher->map = who->map;
    who->map = m;
   
  insert_ob_in_map (who,who->map,pusher,0);   insert_ob_in_map (who,who->map,pusher,0);
  insert_ob_in_map (pusher,pusher->map,pusher,0);   insert_ob_in_map (pusher,pusher->map,pusher,0);
   


Legend:
line(s) removed in v.1.29 
line(s) changed
 line(s) added in v.1.30

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