Difference for server/main.c from version 1.13 to 1.14


version 1.13 version 1.14
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_main_c =   * static char *rcsid_main_c =
  *    "$Id: main.c,v 1.13 2000/11/14 07:35:06 cvs Exp $";   *    "$Id: main.c,v 1.14 2000/11/23 07:32:47 cvs Exp $";
  */   */
   
 /*  /*
Line 396
 
Line 396
     oldmap->players--;      oldmap->players--;
   }    }
   
     /* If a unique loaded, see if its in memory, and use it.
      * otherwise, load it up.
      */
     if (exit_ob && QUERY_FLAG(exit_ob, FLAG_UNIQUE)) {
       op->map=has_been_loaded(apartment);
       if (!op->map ||
    (op->map->in_memory!=MAP_LOADING && op->map->in_memory!=MAP_IN_MEMORY))
    op->map = ready_map_name(newpath,(unique?MAP_PLAYER_UNIQUE:0));
     } else {
   /* Do any processing to get the map loaded and ready */    /* Do any processing to get the map loaded and ready */
   op->map = ready_map_name(newpath,(unique?MAP_PLAYER_UNIQUE:0));    op->map = ready_map_name(newpath,(unique?MAP_PLAYER_UNIQUE:0));
     }
   
   /* Did the load fail for some reason?  If so, put the player back on the    /* Did the load fail for some reason?  If so, put the player back on the
    * map they came from and remove the exit that pointed the player to     * map they came from and remove the exit that pointed the player to
Line 431
 
Line 441
   /* If we got the map we wanted and it is UNIQUE, we need to update    /* If we got the map we wanted and it is UNIQUE, we need to update
    * it so it gets saved in the right place.  Set unique so that     * it so it gets saved in the right place.  Set unique so that
    * when we save it, it knows to save it in the right place     * when we save it, it knows to save it in the right place
      * If the map is already in ram, this is redundant, but not a big
      * problem.
    */     */
   else if (exit_ob && QUERY_FLAG(exit_ob, FLAG_UNIQUE)) {    else if (exit_ob && QUERY_FLAG(exit_ob, FLAG_UNIQUE)) {
     strcpy(op->map->path, apartment);      strcpy(op->map->path, apartment);
Line 641
 
Line 653
   
 void process_events (mapstruct *map)  void process_events (mapstruct *map)
 {  {
   object *op, *next;    object *op;
   object marker;    object marker;
   tag_t tag;    tag_t tag;
   


Legend:
line(s) removed in v.1.13 
line(s) changed
 line(s) added in v.1.14

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