Difference for server/main.c from version 1.29 to 1.30


version 1.29 version 1.30
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_main_c =   * static char *rcsid_main_c =
  *    "$Id: main.c,v 1.29 2001/03/02 07:36:36 mwedel Exp $";   *    "$Id: main.c,v 1.30 2001/03/05 02:05:19 mwedel Exp $";
  */   */
   
 /*  /*
Line 561
 
Line 561
  else   else
      newmap = ready_map_name(EXIT_PATH(exit_ob), 0);       newmap = ready_map_name(EXIT_PATH(exit_ob), 0);
      }       }
        if (!newmap) {
    new_draw_info_format(NDI_UNIQUE, 0, op, "The %s is closed.", exit_ob->name);
    return;
        }
   
      /* This supports the old behaviour, but it really should not be used.       /* This supports the old behaviour, but it really should not be used.
       * I will note for example that with this method, it is impossible to        * I will note for example that with this method, it is impossible to
       * set 0,0 destination coordinates.  Really, if we want to support        * set 0,0 destination coordinates.  Really, if we want to support
Line 574
 
Line 579
      exit_ob->name?exit_ob->name:"(none)", exit_ob->x, exit_ob->y,        exit_ob->name?exit_ob->name:"(none)", exit_ob->x, exit_ob->y,
      exit_ob->map?exit_ob->map->path:"(none)");       exit_ob->map?exit_ob->map->path:"(none)");
      }       }
      if (newmap)   
  enter_map(op, newmap, x, y);   enter_map(op, newmap, x, y);
      else  
  new_draw_info_format(NDI_UNIQUE, 0, op, "The %s is closed.", exit_ob->name);  
  }   }
  /* For exits that cause damages (like pits) */   /* For exits that cause damages (like pits) */
  if(exit_ob->stats.dam && op->type==PLAYER)   if(exit_ob->stats.dam && op->type==PLAYER)


Legend:
line(s) removed in v.1.29 
line(s) changed
 line(s) added in v.1.30

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