Difference for server/main.c from version 1.26 to 1.27


version 1.26 version 1.27
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_main_c =   * static char *rcsid_main_c =
  *    "$Id: main.c,v 1.26 2001/02/23 06:06:35 mwedel Exp $";   *    "$Id: main.c,v 1.27 2001/02/27 03:41:25 mwedel Exp $";
  */   */
   
 /*  /*
Line 209
 
Line 209
     return (path);      return (path);
 }  }
   
   /* All this really is is a glorified remove_object that also updates
    * the counts on the map if needed.
    */
   void leave_map(object *op)
   {
       mapstruct *oldmap = op->map;
   
       remove_ob(op);
   
       if (oldmap) {
    oldmap->players--;
    if (oldmap->players <= 0) { /* can be less than zero due to errors in tracking this */
        set_map_timeout(oldmap);
    }
       }
   }
   
 /*  /*
  *  enter_map():  Moves the player and pets from current map (if any) to   *  enter_map():  Moves the player and pets from current map (if any) to
  * new map.  map, x, y must be set.  map is the map we are moving the   * new map.  map, x, y must be set.  map is the map we are moving the


Legend:
line(s) removed in v.1.26 
line(s) changed
 line(s) added in v.1.27

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