… | |
… | |
2576 | |
2576 | |
2577 | if (QUERY_FLAG (op, FLAG_UNPAID) && !QUERY_FLAG (op, FLAG_APPLIED)) |
2577 | if (QUERY_FLAG (op, FLAG_UNPAID) && !QUERY_FLAG (op, FLAG_APPLIED)) |
2578 | { |
2578 | { |
2579 | if (who->type == PLAYER) |
2579 | if (who->type == PLAYER) |
2580 | { |
2580 | { |
|
|
2581 | examine (who, op); |
2581 | who->failmsg ("You should pay for it first! H<You cannot use items marked as unpaid.>"); |
2582 | //who->failmsg ("You should pay for it first! H<You cannot use items marked as unpaid.>");//TODO remove |
2582 | return 1; |
2583 | return 1; |
2583 | } |
2584 | } |
2584 | else |
2585 | else |
2585 | return 0; /* monsters just skip unpaid items */ |
2586 | return 0; /* monsters just skip unpaid items */ |
2586 | } |
2587 | } |