From 39d10d96df8dc15abba32b8e4a32e81bb8121edd Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Sat, 22 Sep 2018 15:55:26 +0300 Subject: [PATCH] Prevent leash showing unseen monster as "it" --- doc/fixes36.2 | 1 + src/objnam.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/fixes36.2 b/doc/fixes36.2 index 24ed7f624..3475892bd 100644 --- a/doc/fixes36.2 +++ b/doc/fixes36.2 @@ -130,6 +130,7 @@ polymorph zap which creates a new long worm (or retains an old one via wizard wishing for "orange" could yield orange or orange colored gem/potion/spellbook a sleeping or paralyzed mon would be frightened by its reflection when applying a mirror +prevent leash showing unseen monster as "attached to it" Fixes to Post-3.6.1 Problems that Were Exposed Via git Repository diff --git a/src/objnam.c b/src/objnam.c index 692291417..a3688b7a5 100644 --- a/src/objnam.c +++ b/src/objnam.c @@ -1052,7 +1052,7 @@ unsigned doname_flags; obj->leashmon = 0; } else { Sprintf(eos(bp), " (attached to %s)", - a_monnam(mlsh)); + noit_mon_nam(mlsh)); } break; }