Difference for server/player.c from version 1.21 to 1.22


version 1.21 version 1.22
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_player_c =   * static char *rcsid_player_c =
  *   "$Id: player.c,v 1.21 2000/11/09 07:25:09 cvs Exp $";   *   "$Id: player.c,v 1.22 2000/11/14 22:50:33 avogl Exp $";
  */   */
   
 /*  /*
Line 183
 
Line 183
 #endif  #endif
     *p->maplevel=0;      *p->maplevel=0;
   
       strcpy(p->savebed_map, first_map_path);  /* Init. respawn position */
       p->bed_x=0, p->bed_y=0;
      
     op->contr=p; /* this aren't yet in archetype */      op->contr=p; /* this aren't yet in archetype */
     op->speed_left=0.5;      op->speed_left=0.5;
     op->speed=1.0;      op->speed=1.0;
Line 1858
 
Line 1861
     }      }
    
   
  /**************************************/   /****************************************/
  /*                                    */   /*                                    */
  /* Move the player to the beginning   */   /* Move player to his current respawn-  */
  /* map....                            */   /* position (usually last savebed)      */
  /*                                    */   /*                                    */
  /**************************************/   /****************************************/
   
     tmp=get_object();      tmp=get_object();
   
     EXIT_PATH(tmp) = add_string(first_map_path);      EXIT_PATH(tmp) = add_string(op->contr->savebed_map);
       EXIT_X(tmp) = op->contr->bed_x;
       EXIT_Y(tmp) = op->contr->bed_y;
     enter_exit(op,tmp);      enter_exit(op,tmp);
   
 /* commenting this out seems to fix core dumps on some systems. */  /* commenting this out seems to fix core dumps on some systems. */


Legend:
line(s) removed in v.1.21 
line(s) changed
 line(s) added in v.1.22

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