Difference for server/player.c from version 1.135 to 1.136


version 1.135 version 1.136
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_player_c =   * static char *rcsid_player_c =
  *   "$Id: player.c,v 1.135 2003/10/08 05:43:22 mwedel Exp $";   *   "$Id: player.c,v 1.136 2003/10/14 06:54:48 mwedel Exp $";
  */   */
   
 /*  /*
Line 3072
 
Line 3072
     /* everything seems okay - now bring on the gift: */      /* everything seems okay - now bring on the gift: */
     item = &(tr->item->clone);      item = &(tr->item->clone);
      
       if (item->type == SPELL) {
    if (check_spell_known (who, item->name))
        return;
   
    new_draw_info_format(NDI_UNIQUE|NDI_BLUE, 0, who, "You gained the ability of %s", item->inv->name);
    do_learn_spell (who, item, 0);
    return;
       }
   
     /* grant direct spell */      /* grant direct spell */
     if (item->type == SPELLBOOK) {      if (item->type == SPELLBOOK) {
    if (!item->inv) {
        LOG(llevDebug,"dragon_ability_gain: Broken spellbook %s\n",
    item->name);
        return;
    }
  if (check_spell_known (who, item->inv->name))   if (check_spell_known (who, item->inv->name))
      return;       return;
  if (item->invisible) {   if (item->invisible) {


Legend:
line(s) removed in v.1.135 
line(s) changed
 line(s) added in v.1.136

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