buglist followup to pacifying a shopkeeper
Quoting the buglist: "If shk.c does get modified, I'd like to see a call to rouse_shk() added at the start of rob_shop(). If the shk wakes up for buying and selling, he ought to wake up for robbery--even when it's covered by the customer's credit--too."
This commit is contained in:
@@ -461,6 +461,7 @@ struct monst *shkp;
|
|||||||
long total;
|
long total;
|
||||||
|
|
||||||
eshkp = ESHK(shkp);
|
eshkp = ESHK(shkp);
|
||||||
|
rouse_shk(shkp, TRUE);
|
||||||
total = (addupbill(shkp) + eshkp->debit);
|
total = (addupbill(shkp) + eshkp->debit);
|
||||||
if (eshkp->credit >= total) {
|
if (eshkp->credit >= total) {
|
||||||
Your("credit of %ld %s is used to cover your shopping bill.",
|
Your("credit of %ld %s is used to cover your shopping bill.",
|
||||||
|
|||||||
Reference in New Issue
Block a user