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

@@ -1319,6 +1319,7 @@ spellbooks weight 50 units but Book of the Dead only 20, and novels only 1;
save and restore hero tracks, increase track length
change vrock and hezrou from red to green, adjust vrock tile to have green
change wolf and werewolf to grey, warg to black
walking into a shopkeeper tries to pay the bill
Fixes to 3.7.0-x General Problems Exposed Via git Repository

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));