From: cohrs Date: Fri, 12 Sep 2003 20:08:44 +0000 (+0000) Subject: buglist followup to pacifying a shopkeeper X-Git-Tag: MOVE2GIT~1787 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32b2af4abf644cccd8a43a9cec1d582552898ebf;p=nethack 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." --- 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.",