onbill() fix

Fix a typo/thinko pointed out by entrez.
This commit is contained in:
PatR
2022-11-23 00:21:04 -08:00
parent d1ccc337e6
commit 997210f7ea

View File

@@ -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;
}