Difference for server/time.c from version 1.18 to 1.19


version 1.18 version 1.19
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_time_c =   * static char *rcsid_time_c =
  *    "$Id: time.c,v 1.18 2000/12/15 15:42:37 avogl Exp $";   *    "$Id: time.c,v 1.19 2000/12/20 20:29:29 avogl Exp $";
  */   */
   
 /*  /*
Line 155
 
Line 155
   while(op!=NULL&&op->type!=PLAYER)    while(op!=NULL&&op->type!=PLAYER)
     op=op->env;      op=op->env;
   if(op!=NULL) {    if(op!=NULL) {
     if(blocks_magic(op->map,op->x,op->y) && wor->stats.hp != 1)      if(blocks_magic(op->map,op->x,op->y))
       new_draw_info(NDI_UNIQUE, 0,op,"You feel something fizzle inside you.");        new_draw_info(NDI_UNIQUE, 0,op,"You feel something fizzle inside you.");
     else      else
       enter_exit(op,wor);        enter_exit(op,wor);
Line 762
 
Line 762
 void move_player_changer(object *op) {  void move_player_changer(object *op) {
   object *player;    object *player;
   object *walk;    object *walk;
     char c;
    if(op->above!=NULL) {     if(op->above!=NULL) {
     if(EXIT_PATH(op)) {      if(EXIT_PATH(op)) {
       if(op->above->type==PLAYER) {        if(op->above->type==PLAYER) {
Line 771
 
Line 772
  link_player_skills(op->above);   link_player_skills(op->above);
  esrv_send_inventory(op->above,op->above);   esrv_send_inventory(op->above,op->above);
  esrv_update_item(UPD_FACE, op->above, op->above);   esrv_update_item(UPD_FACE, op->above, op->above);
   
    /* update players death & WoR home-position */
    sscanf(EXIT_PATH(op), "%c", &c);
    if (c == '/') {
      strcpy(player->contr->savebed_map, EXIT_PATH(op));
      player->contr->bed_x = EXIT_X(op), player->contr->bed_y = EXIT_Y(op);
    }
    else
      LOG(llevDebug, "WARNING: destination '%s' in player_changer must be an absolute path!",
          EXIT_PATH(op));
   
  enter_exit(op->above,op);   enter_exit(op->above,op);
    save_player(player, 0);
       }        }
       else        else
         return;          return;


Legend:
line(s) removed in v.1.18 
line(s) changed
 line(s) added in v.1.19

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