Walking into a shopkeeper tries to pay the bill

This commit is contained in:
Pasi Kallinen
2023-12-08 18:31:16 +02:00
parent 20b91270ba
commit 348f88c726
2 changed files with 4 additions and 0 deletions

View File

@@ -478,6 +478,9 @@ do_attack(struct monst *mtmp)
if (inshop || foo) {
char buf[BUFSZ];
if (!gc.context.travel && !gc.context.run)
return ECMD_TIME | dopay();
if (mtmp->mtame) /* see 'additional considerations' above */
monflee(mtmp, rnd(6), FALSE, FALSE);
Strcpy(buf, y_monnam(mtmp));