Difference for common/player.c from version 1.17 to 1.18


version 1.17 version 1.18
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_player_c =   * static char *rcsid_player_c =
  *   "$Id: player.c,v 1.17 2005/10/28 18:19:53 akirschbaum Exp $";   *   "$Id: player.c,v 1.18 2006/02/09 00:48:36 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 72
 
Line 72
  * returns true if the adressed object 'ob' is a player   * returns true if the adressed object 'ob' is a player
  * of the dragon race.   * of the dragon race.
  */   */
 int is_dragon_pl(object* op) {  int is_dragon_pl(const object* op) {
   if (op != NULL && op->type == PLAYER && op->arch != NULL    if (op != NULL && op->type == PLAYER && op->arch != NULL
       && op->arch->clone.race != NULL &&        && op->arch->clone.race != NULL &&
       strcmp(op->arch->clone.race, "dragon")==0)        strcmp(op->arch->clone.race, "dragon")==0)


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

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