… | |
… | |
159 | * already -b.t. |
159 | * already -b.t. |
160 | */ |
160 | */ |
161 | |
161 | |
162 | if (QUERY_FLAG (tmp, FLAG_WAS_WIZ) || QUERY_FLAG (tmp, FLAG_APPLIED) |
162 | if (QUERY_FLAG (tmp, FLAG_WAS_WIZ) || QUERY_FLAG (tmp, FLAG_APPLIED) |
163 | || !(tmp->type) |
163 | || !(tmp->type) |
164 | || tmp->type == EXPERIENCE || tmp->type == SPELL |
164 | || tmp->type == SPELL |
165 | || QUERY_FLAG (tmp, FLAG_STARTEQUIP) || QUERY_FLAG (tmp, FLAG_NO_STEAL) || tmp->invisible) |
165 | || QUERY_FLAG (tmp, FLAG_STARTEQUIP) || QUERY_FLAG (tmp, FLAG_NO_STEAL) || tmp->invisible) |
166 | continue; |
166 | continue; |
167 | |
167 | |
168 | /* Okay, try stealing this item. Dependent on dexterity of thief, |
168 | /* Okay, try stealing this item. Dependent on dexterity of thief, |
169 | * skill level, see the adj_stealroll fctn for more detail. |
169 | * skill level, see the adj_stealroll fctn for more detail. |