Difference for server/weather.c from version 1.40 to 1.41


version 1.40 version 1.41
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_weather_c =   * static char *rcsid_weather_c =
  *   "$Id: weather.c,v 1.40 2005/07/17 11:00:05 ryo_saeba Exp $";   *   "$Id: weather.c,v 1.41 2005/09/04 16:58:13 akirschbaum Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 2249
 
Line 2249
    fx < settings.worldmapstartx ||     fx < settings.worldmapstartx ||
       fy > settings.worldmapstarty + settings.worldmaptilesy ||        fy > settings.worldmapstarty + settings.worldmaptilesy ||
    fy < settings.worldmapstarty){     fy < settings.worldmapstarty){
  printf ("worldmap_to_weathermap(%s)\n",filename);   LOG(llevDebug, "worldmap_to_weathermap(%s)\n", filename);
     sscanf(filename, "world/world_%d_%d", &fx, &fy);      sscanf(filename, "world/world_%d_%d", &fx, &fy);
  MAP_WORLDPARTX(m)=fx;   MAP_WORLDPARTX(m)=fx;
     MAP_WORLDPARTY(m)=fy;      MAP_WORLDPARTY(m)=fy;
Line 2461
 
Line 2461
 {  {
     int wx, wy, temp, eleva, elevb;      int wx, wy, temp, eleva, elevb;
     object *op;      object *op;
  /*printf ("real_world_temperature: worldmaptoweathermap : %s\n",m->path);*/   /*LOG(llevDebug, "real_world_temperature: worldmaptoweathermap : %s\n",m->path);*/
     worldmap_to_weathermap(x, y, &wx, &wy, /*m->path*/m);      worldmap_to_weathermap(x, y, &wx, &wy, /*m->path*/m);
     temp = real_temperature(wx, wy);      temp = real_temperature(wx, wy);
     if (weathermap[wx][wy].avgelev < 0)      if (weathermap[wx][wy].avgelev < 0)


Legend:
line(s) removed in v.1.40 
line(s) changed
 line(s) added in v.1.41

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