Difference for server/c_object.c from version 1.26 to 1.27


version 1.26 version 1.27
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_c_object_c =   * static char *rcsid_c_object_c =
  *   "$Id: c_object.c,v 1.26 2001/06/13 12:51:58 michtoen Exp $";   *   "$Id: c_object.c,v 1.27 2001/07/14 04:11:18 mwedel Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 611
 
Line 611
   
     if (op->type == PLAYER)      if (op->type == PLAYER)
         esrv_del_item (op->contr, tmp->count);          esrv_del_item (op->contr, tmp->count);
     insert_ob_in_map(tmp, op->map, op);      insert_ob_in_map(tmp, op->map, op,0);
   
   
     SET_FLAG (op, FLAG_NO_APPLY);      SET_FLAG (op, FLAG_NO_APPLY);
     remove_ob(op);      remove_ob(op);
     insert_ob_in_map_simple(op, op->map);      insert_ob_in_map(op, op->map, op, INS_NO_MERGE | INS_NO_WALK_ON);
     CLEAR_FLAG (op, FLAG_NO_APPLY);      CLEAR_FLAG (op, FLAG_NO_APPLY);
   
     /* Call this before we update the various windows/players.  At least      /* Call this before we update the various windows/players.  At least
Line 631
 
Line 631
 /*    esrv_send_item (op, tmp);*/  /*    esrv_send_item (op, tmp);*/
     /* Need to update the weight for the player */      /* Need to update the weight for the player */
     esrv_send_item (op, op);      esrv_send_item (op, op);
     };      }
   
 #ifdef USE_LIGHTING  
     if(tmp->glow_radius>0) remove_light_from_list(tmp,op);  
 #endif  
 }  }
   
 void drop(object *op, object *tmp)  void drop(object *op, object *tmp)


Legend:
line(s) removed in v.1.26 
line(s) changed
 line(s) added in v.1.27

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