Difference for common/living.c from version 1.29 to 1.30


version 1.29 version 1.30
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_living_c =   * static char *rcsid_living_c =
  *   "$Id: living.c,v 1.29 2001/09/26 21:12:33 garbled Exp $";   *   "$Id: living.c,v 1.30 2001/10/31 07:00:24 garbled Exp $";
  */   */
   
 /*  /*
Line 1057
 
Line 1057
             free_string (op->slaying);              free_string (op->slaying);
           add_refcount(op->slaying = tmp->slaying);            add_refcount(op->slaying = tmp->slaying);
         }          }
   #ifdef PLUGINS
    if (tmp->event_hook[EVENT_ATTACK] != NULL) {
        if (op->current_weapon_script)
    free_string(op->current_weapon_script);
        op->current_weapon_script=add_string(query_name(tmp));
    }
   #endif
    op->current_weapon = tmp;
   
 #ifdef SPELL_ENCUMBRANCE  #ifdef SPELL_ENCUMBRANCE
  if(op->type==PLAYER) op->contr->encumbrance+=(int)3*tmp->weight/1000;   if(op->type==PLAYER) op->contr->encumbrance+=(int)3*tmp->weight/1000;
 #endif  #endif


Legend:
line(s) removed in v.1.29 
line(s) changed
 line(s) added in v.1.30

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