Difference for common/living.c from version 1.49 to 1.50


version 1.49 version 1.50
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_living_c =   * static char *rcsid_living_c =
  *   "$Id: living.c,v 1.49 2003/03/09 00:44:11 mwedel Exp $";   *   "$Id: living.c,v 1.50 2003/06/26 11:27:42 gros Exp $";
  */   */
   
 /*  /*
Line 746
 
Line 746
   
 void fix_player(object *op) {  void fix_player(object *op) {
     int i,j;      int i,j;
       event *evt;
     float f,max=9,added_speed=0,bonus_speed=0, sp_tmp,speed_reduce_from_disease=1;      float f,max=9,added_speed=0,bonus_speed=0, sp_tmp,speed_reduce_from_disease=1;
     int weapon_weight=0,weapon_speed=0;      int weapon_weight=0,weapon_speed=0;
     int best_wc=0, best_ac=0, wc=0, ac=0;      int best_wc=0, best_ac=0, wc=0, ac=0;
Line 1048
 
Line 1049
       * extra strength damage, this is where the code should        * extra strength damage, this is where the code should
       * go.        * go.
       */        */
  if (tmp->event_hook[EVENT_ATTACK] != NULL) {          evt = find_event(tmp,EVENT_ATTACK);
           if (evt != 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));


Legend:
line(s) removed in v.1.49 
line(s) changed
 line(s) added in v.1.50

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