version 1.22 | | version 1.23 |
---|
| | |
/* | | /* |
* static char *rcsid_player_c = | | * static char *rcsid_player_c = |
* "$Id: player.c,v 1.22 2000/11/14 22:50:33 avogl Exp $"; | | * "$Id: player.c,v 1.23 2000/12/04 00:40:05 cvs Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
p->socket.inbuf.len=0; | | p->socket.inbuf.len=0; |
| | |
p->weapon_sp=0,p->last_weapon_sp= -1; | | p->weapon_sp=0,p->last_weapon_sp= -1; |
p->last_armour= (-1); | | |
p->has_hit=0; | | p->has_hit=0; |
| | |
p->peaceful=1; /* default peaceful */ | | p->peaceful=1; /* default peaceful */ |
| | |
*/ | | */ |
int check_pick(object *op) { | | int check_pick(object *op) { |
object *tmp, *next; | | object *tmp, *next; |
tag_t next_tag, op_tag; | | tag_t next_tag=0, op_tag; |
int stop = 0; | | int stop = 0; |
| | |
if (QUERY_FLAG (op, FLAG_FLYING)) | | if (QUERY_FLAG (op, FLAG_FLYING)) |