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

@@ -2895,8 +2895,10 @@ check_special_room(boolean newlev)
if (!isok(mtmp->mx,mtmp->my)
|| roomno != (int) levl[mtmp->mx][mtmp->my].roomno)
continue;
if (!Stealth && !rn2(3))
if (!Stealth && !rn2(3)) {
wake_msg(mtmp, FALSE);
mtmp->msleeping = 0;
}
}
}
}