version 1.10 | version 1.11 | |||
---|---|---|---|---|
|
| |||
/* | /* | |||
* static char *rcsid_player_c = | * static char *rcsid_player_c = | |||
* "$Id: player.c,v 1.10 2002/03/01 21:33:09 avogl Exp $"; | * "$Id: player.c,v 1.11 2002/03/03 20:05:57 avogl Exp $"; | |||
*/ | */ | |||
/* | /* | |||
|
| |||
return 1; | return 1; | |||
return 0; | return 0; | |||
} | } | |||
/* | ||||
* returns true if the adressed object 'ob' is a player | ||||
* of the dragon race. | ||||
*/ | ||||
int is_dragon_pl(object* op) { | ||||
if (op != NULL && op->type == PLAYER && op->race != NULL | ||||
&& strcmp(op->race, "dragon")==0) | ||||
return 1; | ||||
return 0; | ||||
} |
Legend:
|