Difference for server/time.c from version 1.89 to 1.90


version 1.89 version 1.90
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_time_c =   * static char *rcsid_time_c =
  *    "$Id: time.c,v 1.89 2006/05/05 09:26:36 ryo_saeba Exp $";   *    "$Id: time.c,v 1.90 2006/07/02 15:32:35 tchize Exp $";
  */   */
   
 /*  /*
Line 829
 
Line 829
  * client of the change.  Insert_ob_in_map takes care of the   * client of the change.  Insert_ob_in_map takes care of the
  * updating the client, so we don't need to do that below.   * updating the client, so we don't need to do that below.
  */   */
  if ((pl=is_player_inv(env))!=NULL) {   if ((pl=get_player_container(env))!=NULL) {
      esrv_del_item(pl->contr, op->count);       esrv_del_item(pl->contr, op->count);
      esrv_send_item(pl, tmp);       esrv_send_item(pl, tmp);
  }   }
Line 1237
 
Line 1237
      remove_force(op);       remove_force(op);
  else {   else {
      /* IF necessary, delete the item from the players inventory */       /* IF necessary, delete the item from the players inventory */
      object *pl=is_player_inv(op);       object *pl=get_player_container(op);
      if (pl)       if (pl)
  esrv_del_item(pl->contr, op->count);   esrv_del_item(pl->contr, op->count);
      remove_ob(op);       remove_ob(op);


Legend:
line(s) removed in v.1.89 
line(s) changed
 line(s) added in v.1.90

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