Difference for server/move.c from version 1.20 to 1.21


version 1.20 version 1.21
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_move_c =   * static char *rcsid_move_c =
  *    "$Id: move.c,v 1.20 2002/08/22 06:49:04 mwedel Exp $";   *    "$Id: move.c,v 1.21 2002/08/26 07:14:11 mwedel Exp $";
  */   */
   
 /*  /*
Line 85
 
Line 85
     }      }
     if (op->will_apply&8 ) {      if (op->will_apply&8 ) {
  tmp_ob=get_map_ob(op->map,op->x+freearr_x[dir],op->y+freearr_y[dir]);   tmp_ob=get_map_ob(op->map,op->x+freearr_x[dir],op->y+freearr_y[dir]);
  while(tmp_ob->above != NULL) {   while(tmp_ob != NULL) {
      if (tmp_ob == DOOR) {       if (tmp_ob->type == DOOR) {
  hit_player(tmp_ob,9998,op,AT_PHYSICAL); /* Tear down the earthwall */   hit_player(tmp_ob,9998,op,AT_PHYSICAL); /* Tear down the door */
  return 0;   return 0;
      }       }
             tmp_ob = tmp_ob->above; /* To prevent endless loop */              tmp_ob = tmp_ob->above; /* To prevent endless loop */


Legend:
line(s) removed in v.1.20 
line(s) changed
 line(s) added in v.1.21

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