Difference for server/disease.c from version 1.6 to 1.7


version 1.6 version 1.7
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_disease_c =   * static char *rcsid_disease_c =
  *   "$Id: disease.c,v 1.6 2000/06/04 22:26:08 cvs Exp $";   *   "$Id: disease.c,v 1.7 2000/06/06 07:04:10 cvs Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 60
 
Line 60
   
 name            Name            Name of the plague   name            Name            Name of the plague
 msg             message         What the plague says when it strikes.  msg             message         What the plague says when it strikes.
 race            those affected  races the plague strikes (* means everything)   race            those affected  species/race the plague strikes (* = everything)
 level           Plague Level    General description of the plague's deadliness  level           Plague Level    General description of the plague's deadliness
 armour          Attenuation     reduction in wc per generation of disease.  armour          Attenuation     reduction in wc per generation of disease.
                                 This builds in a self-limiting factor.                                  This builds in a self-limiting factor.
Line 247
 
Line 247
   }    }
   else    else
  {   {
  if(!strstr(victim->race,disease->race))  /* Victim's not listed */   if(!strstr(victim->race,disease->race) && !(strstr(victim->name,disease->race)))  /* Victim's not listed */
    return 0;     return 0;
  }   }
   


Legend:
line(s) removed in v.1.6 
line(s) changed
 line(s) added in v.1.7

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