Difference for common/living.c from version 1.42 to 1.43


version 1.42 version 1.43
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_living_c =   * static char *rcsid_living_c =
  *   "$Id: living.c,v 1.42 2002/11/13 00:26:12 garbled Exp $";   *   "$Id: living.c,v 1.43 2002/11/26 08:48:20 garbled Exp $";
  */   */
   
 /*  /*
Line 1038
 
Line 1038
       * extra strength damage, this is where the code should        * extra strength damage, this is where the code should
       * go.        * go.
       */        */
 #ifdef PLUGINS  
  if (tmp->event_hook[EVENT_ATTACK] != NULL) {   if (tmp->event_hook[EVENT_ATTACK] != NULL) {
      if (op->current_weapon_script)       if (op->current_weapon_script)
  free_string(op->current_weapon_script);   free_string(op->current_weapon_script);
      op->current_weapon_script=add_string(query_name(tmp));       op->current_weapon_script=add_string(query_name(tmp));
  }   }
 #endif  
  op->current_weapon = tmp;   op->current_weapon = tmp;
  if(settings.spell_encumbrance == TRUE && op->type==PLAYER)   if(settings.spell_encumbrance == TRUE && op->type==PLAYER)
      op->contr->encumbrance+=(int)3*tmp->weight/1000;       op->contr->encumbrance+=(int)3*tmp->weight/1000;


Legend:
line(s) removed in v.1.42 
line(s) changed
 line(s) added in v.1.43

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