Difference for server/disease.c from version 1.28 to 1.29


version 1.28 version 1.29
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_disease_c =   * static char *rcsid_disease_c =
  *   "$Id: disease.c,v 1.28 2004/08/20 20:02:10 akirschbaum Exp $";   *   "$Id: disease.c,v 1.29 2005/08/17 07:44:45 akirschbaum Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 249
 
Line 249
     }      }
   
     if(map == NULL) return 0;      if(map == NULL) return 0;
     for(i=x-range;i<x+range;i++) {      for(i=x-range;i<=x+range;i++) {
  for(j=y-range;j<y+range;j++) {   for(j=y-range;j<=y+range;j++) {
      mflags = get_map_flags(map,&map2, i,j, &i2, &j2);       mflags = get_map_flags(map,&map2, i,j, &i2, &j2);
      if (!(mflags & P_OUT_OF_MAP) && (mflags & P_IS_ALIVE)) {       if (!(mflags & P_OUT_OF_MAP) && (mflags & P_IS_ALIVE)) {
  for(tmp=get_map_ob(map2,i2,j2);tmp;tmp=tmp->above) {   for(tmp=get_map_ob(map2,i2,j2);tmp;tmp=tmp->above) {


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

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