Difference for server/disease.c from version 1.4 to 1.5


version 1.4 version 1.5
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_disease_c =   * static char *rcsid_disease_c =
  *   "$Id: disease.c,v 1.4 2000/05/26 09:50:49 jec Exp $";   *   "$Id: disease.c,v 1.5 2000/06/04 21:18:31 cvs Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 267
 
Line 267
   new_disease->stats.food=disease->stats.maxgrace;    new_disease->stats.food=disease->stats.maxgrace;
   new_disease->value=disease->stats.maxhp;    new_disease->value=disease->stats.maxhp;
   set_owner(new_disease,disease->owner);    set_owner(new_disease,disease->owner);
     /* Unfortunately, set_owner does the wrong thing to the skills pointers
      resulting in exp going into the owners *current* chosen skill. */
     new_disease->chosen_skill = disease->chosen_skill;
     new_disease->exp_obj = disease->exp_obj;
   
   insert_ob_in_ob(new_disease,victim);    insert_ob_in_ob(new_disease,victim);
   CLEAR_FLAG(new_disease,FLAG_NO_PASS);    CLEAR_FLAG(new_disease,FLAG_NO_PASS);
   if(disease->owner && disease->owner->type==PLAYER) {    if(disease->owner && disease->owner->type==PLAYER) {
Line 340
 
Line 345
  new_symptom->other_arch = disease->other_arch;   new_symptom->other_arch = disease->other_arch;
   
  set_owner(new_symptom,disease->owner);   set_owner(new_symptom,disease->owner);
    /* Unfortunately, set_owner does the wrong thing to the skills pointers
    resulting in exp going into the owners *current* chosen skill. */
    new_symptom->chosen_skill = disease->chosen_skill;
    new_symptom->exp_obj = disease->exp_obj;
   
   
  CLEAR_FLAG(new_symptom,FLAG_NO_PASS);   CLEAR_FLAG(new_symptom,FLAG_NO_PASS);
  insert_ob_in_ob(new_symptom,victim);   insert_ob_in_ob(new_symptom,victim);
  return 1;   return 1;


Legend:
line(s) removed in v.1.4 
line(s) changed
 line(s) added in v.1.5

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