Difference for server/weather.c from version 1.20 to 1.21


version 1.20 version 1.21
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_weather_c =   * static char *rcsid_weather_c =
  *   "$Id: weather.c,v 1.20 2002/12/11 19:54:52 garbled Exp $";   *   "$Id: weather.c,v 1.21 2002/12/21 08:02:35 mwedel Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 1622
 
Line 1622
      if (!strcmp(oldsnow->arch->name, at->name))       if (!strcmp(oldsnow->arch->name, at->name))
  at = NULL;   at = NULL;
      else {       else {
  remove_ob(oldsnow);  
  free_object(oldsnow);  
  tmp=GET_MAP_OB(m, x, y);   tmp=GET_MAP_OB(m, x, y);
    remove_ob(oldsnow);
  /* clean up the trees we put over the snow */   /* clean up the trees we put over the snow */
  found = 0;   found = 0;
  doublestack2 = NULL;   doublestack2 = NULL;
Line 1645
 
Line 1644
  break;   break;
      }       }
  }   }
    free_object(oldsnow);
  if (tmp != NULL && doublestack2 != NULL)   if (tmp != NULL && doublestack2 != NULL)
      if (strcmp(tmp->arch->name, doublestack2) == 0) {       if (strcmp(tmp->arch->name, doublestack2) == 0) {
  remove_ob(tmp);   remove_ob(tmp);


Legend:
line(s) removed in v.1.20 
line(s) changed
 line(s) added in v.1.21

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