version 1.26 | | version 1.27 |
---|
| | |
/* | | /* |
* static char *rcsid_player_c = | | * static char *rcsid_player_c = |
* "$Id: player.c,v 1.26 2000/12/15 21:29:56 peterm Exp $"; | | * "$Id: player.c,v 1.27 2000/12/16 23:32:14 avogl Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
for (op=pl->inv; op; op=next) { | | for (op=pl->inv; op; op=next) { |
next = op->below; | | next = op->below; |
if(op->nrof<2 && op->type!=CONTAINER && op->type!=MONEY && | | if(op->nrof<2 && op->type!=CONTAINER && op->type!=MONEY && |
!QUERY_FLAG(op,FLAG_IS_THROWN)) | | op->type!=BOOK && !QUERY_FLAG(op,FLAG_IS_THROWN)) |
SET_FLAG(op,FLAG_STARTEQUIP); | | SET_FLAG(op,FLAG_STARTEQUIP); |
| | |
if(op->type == CONTAINER) op->value = 0; /* so you can't sell it for money*/ | | if(op->type == CONTAINER) op->value = 0; /* so you can't sell it for money*/ |