version 1.21 | | version 1.22 |
---|
| | |
/* | | /* |
* static char *rcsid_arch_c = | | * static char *rcsid_arch_c = |
* "$Id: arch.c,v 1.21 2002/07/05 21:09:33 uid39786 Exp $"; | | * "$Id: arch.c,v 1.22 2002/07/05 22:22:29 uid39786 Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
(QUERY_FLAG(op,FLAG_CURSED) ||QUERY_FLAG(op,FLAG_DAMNED))) | | (QUERY_FLAG(op,FLAG_CURSED) ||QUERY_FLAG(op,FLAG_DAMNED))) |
return 2; | | return 2; |
| | |
| | if (!strcmp(cp,"unlocked") && !QUERY_FLAG(op, FLAG_INV_LOCKED)) |
| | return 2; |
| | |
/* Allow for things like '100 arrows' */ | | /* Allow for things like '100 arrows' */ |
if ((count=atoi(cp))!=0) { | | if ((count=atoi(cp))!=0) { |
cp=strchr(cp, ' '); | | cp=strchr(cp, ' '); |