From: PatR Date: Wed, 23 Nov 2022 08:21:04 +0000 (-0800) Subject: onbill() fix X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=997210f7eadd4a08680ffdee4b4bdd1b5835c3e2;p=nethack onbill() fix Fix a typo/thinko pointed out by entrez. --- diff --git a/src/shk.c b/src/shk.c index 2d64a64f7..49663c586 100644 --- a/src/shk.c +++ b/src/shk.c @@ -888,7 +888,7 @@ onbill(struct obj *obj, struct monst *shkp, boolean silent) } if (obj->unpaid && !silent) impossible("onbill: unpaid obj %s?", - shkp ? "without shopkeeper" : "not on shk's bill"); + !shkp ? "without shopkeeper" : "not on shk's bill"); return (struct bill_x *) 0; }