Difference for server/server.c from version 1.3 to 1.4


version 1.3 version 1.4
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_server_c =   * static char *rcsid_server_c =
  *    "$Id: server.c,v 1.3 2006/07/25 18:04:10 gros Exp $";   *    "$Id: server.c,v 1.4 2006/08/05 08:56:35 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 111
 
Line 111
   new_draw_info(NDI_UNIQUE, 0,op,"David Gervais       [david_eg@mail.com]");    new_draw_info(NDI_UNIQUE, 0,op,"David Gervais       [david_eg@mail.com]");
   new_draw_info(NDI_UNIQUE, 0,op,"Mitsuhiro Itakura   [ita@gold.koma.jaeri.go.jp]");    new_draw_info(NDI_UNIQUE, 0,op,"Mitsuhiro Itakura   [ita@gold.koma.jaeri.go.jp]");
   new_draw_info(NDI_UNIQUE, 0,op,"Hansjoerg Malthaner [hansjoerg.malthaner@danet.de]");    new_draw_info(NDI_UNIQUE, 0,op,"Hansjoerg Malthaner [hansjoerg.malthaner@danet.de]");
   new_draw_info(NDI_UNIQUE, 0,op,"Mårten Woxberg      [maxmc@telia.com]");    new_draw_info(NDI_UNIQUE, 0,op,"M�ten Woxberg      [maxmc@telia.com]");
   new_draw_info(NDI_UNIQUE, 0,op,"And many more!");    new_draw_info(NDI_UNIQUE, 0,op,"And many more!");
 }  }
   
Line 775
 
Line 775
  else   else
      newmap = ready_map_name(EXIT_PATH(exit_ob), 0);       newmap = ready_map_name(EXIT_PATH(exit_ob), 0);
      }       }
             if (!newmap)          if (!newmap) {
             {              if (exit_ob->name)
  new_draw_info_format(NDI_UNIQUE, 0, op, "The %s is closed.", exit_ob->name);   new_draw_info_format(NDI_UNIQUE, 0, op, "The %s is closed.", exit_ob->name);
                   /* don't cry to momma if name is not set - as in tmp objects
                    * used by the savebed code and character creation */
  return;   return;
      }       }
   
Line 834
 
Line 836
  if (!strncmp(op->contr->maplevel, settings.localdir, strlen(settings.localdir)))   if (!strncmp(op->contr->maplevel, settings.localdir, strlen(settings.localdir)))
      flags = MAP_PLAYER_UNIQUE;       flags = MAP_PLAYER_UNIQUE;
   
  /* newmap returns the map (if already loaded), or loads it for          /* newmap returns the map (if already loaded), or loads it for us. */
  * us.  
  */  
  newmap = ready_map_name(op->contr->maplevel, flags);   newmap = ready_map_name(op->contr->maplevel, flags);
         if (!newmap)          if (!newmap) {
         {              LOG(llevError, "enter_exit: Pathname to map does not exist! (%s)\n", op->contr->maplevel);
             LOG(llevError,  
                 "enter_exit: Pathname to map does not exist! (%s)\n",  
                 op->contr->maplevel);  
      newmap = ready_map_name(settings.emergency_mapname, 0);       newmap = ready_map_name(settings.emergency_mapname, 0);
      op->x = settings.emergency_x;       op->x = settings.emergency_x;
      op->y = settings.emergency_y;       op->y = settings.emergency_y;


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

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