| 3910 | } |
| 3911 | |
| 3912 | void |
| 3913 | sellobj_state(int deliberate) |
| 3914 | { |
| 3915 | /* If we're deliberately dropping something, there's no automatic |
| 3916 | response to the shopkeeper's "want to sell" query; however, if we |
| 3917 | accidentally drop anything, the shk will buy it/them without asking. |
| 3918 | This retains the old pre-query risk that slippery fingers while in |
| 3919 | shops entailed: you drop it, you've lost it. |
| 3920 | */ |
| 3921 | gs.sell_response = (deliberate != SELL_NORMAL) ? '\0' : 'a'; |
| 3922 | gs.sell_how = deliberate; |
| 3923 | ga.auto_credit = FALSE; |
| 3924 | } |
| 3925 | |
| 3926 | void |
| 3927 | sellobj( |
no outgoing calls
no test coverage detected