From dfdb6f0ab617cf90abca36a47468a0817f95a7d0 Mon Sep 17 00:00:00 2001 From: PatR Date: Tue, 6 Feb 2024 10:46:01 -0800 Subject: [PATCH] couple of comments in steal() Teleporting due to loss of protection against water or lava isn't the only way a visible thief might produce "It stole " prior to the fixup the comment explains. The late comment about uball and uchain becoming Null was there to explain why they weren't referenced when inserting the phrase | (was_punished && !Punished) ? " removed your chain and" : "", into " stole a heavy iron ball." That isn't there anymore so get rid of the comment. --- src/steal.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/steal.c b/src/steal.c index 4e2df1f8b..9ce2982bc 100644 --- a/src/steal.c +++ b/src/steal.c @@ -458,7 +458,9 @@ steal(struct monst* mtmp, char* objnambuf) /* stealing a worn item might drop hero into water or lava where teleporting to safety could result in a previously visible thief - no longer being visible; remember the name in order to avoid "It" + no longer being visible; it could also be a case of a blinded + hero being able to see via wearing the Eyes of the Overworld and + having those stolen; remember the name in order to avoid "It" in the eventual " stole " message; (the name might already be "It"; if so, that's ok) */ Strcpy(Monnambuf, Monnam(mtmp)); @@ -605,7 +607,6 @@ steal(struct monst* mtmp, char* objnambuf) if (otmp->unpaid) subfrombill(otmp, shop_keeper(*u.ushops)); freeinv(otmp); - /* if attached ball was taken, uball and uchain are now Null */ /* if we just gave a message about removing a worn item and there have been no intervening messages, shorten ' stole ' message */