version 1.11 | | version 1.12 |
---|
| | |
/* | | /* |
* static char *rcsid_player_c = | | * static char *rcsid_player_c = |
* "$Id: player.c,v 1.11 2002/03/03 20:05:57 avogl Exp $"; | | * "$Id: player.c,v 1.12 2002/03/06 22:52:55 avogl Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
* of the dragon race. | | * of the dragon race. |
*/ | | */ |
int is_dragon_pl(object* op) { | | int is_dragon_pl(object* op) { |
if (op != NULL && op->type == PLAYER && op->race != NULL | | if (op != NULL && op->type == PLAYER && op->arch != NULL |
&& strcmp(op->race, "dragon")==0) | | && op->arch->clone.race != NULL && |
| | strcmp(op->arch->clone.race, "dragon")==0) |
return 1; | | return 1; |
return 0; | | return 0; |
} | | } |