pull request #660 from NullCGT - sleeping monsters

Indicate to players that monsters are sleeping.

Closes #660
This commit is contained in:
Kestrel Gregorich-Trevor
2022-01-20 10:24:10 -06:00
committed by PatR
parent 462e13f07b
commit 355ed43a29
6 changed files with 21 additions and 1 deletions

View File

@@ -359,6 +359,8 @@ look_at_monster(char *buf,
Strcat(buf, (Upolyd && sticks(g.youmonst.data))
? ", being held" : ", holding you");
}
if (mtmp->msleeping)
Strcat(buf, ", asleep");
if (mtmp->mleashed)
Strcat(buf, ", leashed to you");