version 1.45 | | version 1.46 |
---|
| | |
/* | | /* |
* static char *rcsid_gods_c = | | * static char *rcsid_gods_c = |
* "$Id: gods.c,v 1.45 2005/02/20 20:43:15 akirschbaum Exp $"; | | * "$Id: gods.c,v 1.46 2005/07/26 00:23:00 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
int success = 0; | | int success = 0; |
| | |
for (tmp = op->inv; tmp; tmp = tmp->below) { | | for (tmp = op->inv; tmp; tmp = tmp->below) { |
| | if (tmp->invisible) |
| | continue; |
if (QUERY_FLAG (tmp, FLAG_DAMNED) && ! remove_damnation) | | if (QUERY_FLAG (tmp, FLAG_DAMNED) && ! remove_damnation) |
continue; | | continue; |
if (QUERY_FLAG (tmp, FLAG_CURSED) || QUERY_FLAG (tmp, FLAG_DAMNED)) { | | if (QUERY_FLAG (tmp, FLAG_CURSED) || QUERY_FLAG (tmp, FLAG_DAMNED)) { |