From 32b2af4abf644cccd8a43a9cec1d582552898ebf Mon Sep 17 00:00:00 2001 From: cohrs Date: Fri, 12 Sep 2003 20:08:44 +0000 Subject: [PATCH] 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." --- src/shk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shk.c b/src/shk.c index 32568d3dd..acef77df5 100644 --- a/src/shk.c +++ b/src/shk.c @@ -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.", -- 2.40.0