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:
cohrs
2003-09-12 20:08:44 +00:00
parent 8396866296
commit 32b2af4abf

View File

@@ -461,6 +461,7 @@ struct monst *shkp;
long total;
eshkp = ESHK(shkp);
rouse_shk(shkp, TRUE);
total = (addupbill(shkp) + eshkp->debit);
if (eshkp->credit >= total) {
Your("credit of %ld %s is used to cover your shopping bill.",