version 1.25 | | version 1.26 |
---|
| | |
/* | | /* |
* static char *rcsid_player_c = | | * static char *rcsid_player_c = |
* "$Id: player.c,v 1.25 2000/12/11 03:59:49 cvs Exp $"; | | * "$Id: player.c,v 1.26 2000/12/15 21:29:56 peterm Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
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)) | | !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*/ |
/* Not marked as starting equipment, so set 0 value. */ | | /* Not marked as starting equipment, so set 0 value. */ |
if (QUERY_FLAG(op,FLAG_IS_THROWN)) | | if (QUERY_FLAG(op,FLAG_IS_THROWN)) |
op->value=0; | | op->value=0; |