ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/player.c
(Generate patch)

Comparing deliantra/server/common/player.c (file contents):
Revision 1.1.1.2 by elmex, Wed Feb 22 18:01:22 2006 UTC vs.
Revision 1.2 by elmex, Sun Aug 13 17:16:00 2006 UTC

1/* 1/*
2 * static char *rcsid_player_c = 2 * static char *rcsid_player_c =
3 * "$Id: player.c,v 1.1.1.2 2006/02/22 18:01:22 elmex Exp $"; 3 * "$Id: player.c,v 1.2 2006/08/13 17:16:00 elmex dead $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
70 70
71/* 71/*
72 * returns true if the adressed object 'ob' is a player 72 * returns true if the adressed object 'ob' is a player
73 * of the dragon race. 73 * of the dragon race.
74 */ 74 */
75int is_dragon_pl(const object* op) { 75int is_dragon_pl(object* op) {
76 if (op != NULL && op->type == PLAYER && op->arch != NULL 76 if (op != NULL && op->type == PLAYER && op->arch != NULL
77 && op->arch->clone.race != NULL && 77 && op->arch->clone.race != NULL &&
78 strcmp(op->arch->clone.race, "dragon")==0) 78 strcmp(op->arch->clone.race, "dragon")==0)
79 return 1; 79 return 1;
80 return 0; 80 return 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines