Difference for server/player.c from version 1.174 to 1.175


version 1.174 version 1.175
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_player_c =   * static char *rcsid_player_c =
  *   "$Id: player.c,v 1.174 2005/09/04 16:58:12 akirschbaum Exp $";   *   "$Id: player.c,v 1.175 2005/09/17 13:24:48 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 2289
 
Line 2289
      remove_ob(op);       remove_ob(op);
      op->x = env->x;       op->x = env->x;
      op->y = env->y;       op->y = env->y;
        if (env->type == PLAYER)
    esrv_del_item(env->contr, op->count);
      insert_ob_in_map(op, env->map, NULL,0);       insert_ob_in_map(op, env->map, NULL,0);
  }   }
  else if (op->inv) remove_unpaid_objects(op->inv, env);   else if (op->inv) remove_unpaid_objects(op->inv, env);
Line 2815
 
Line 2817
  */   */
   
  for (tmp= get_map_ob(op->map, op->x, op->y); tmp; tmp=tmp->above) {   for (tmp= get_map_ob(op->map, op->x, op->y); tmp; tmp=tmp->above) {
      if (tmp && tmp->type == SHOP_FLOOR) {       if (tmp->type == SHOP_FLOOR) {
  remove_unpaid_objects(op->inv, op);   remove_unpaid_objects(op->inv, op);
    break;
      }       }
  }   }
    


Legend:
line(s) removed in v.1.174 
line(s) changed
 line(s) added in v.1.175

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