more fixes via monsym()

This commit is contained in:
nhmall
2023-12-07 09:55:37 -05:00
parent e639c4bdaa
commit 12ca2be5b4
2 changed files with 3 additions and 3 deletions

View File

@@ -522,7 +522,7 @@ pick_nasty(
* but we don't try very hard.
*/
if (Is_rogue_level(&u.uz)
&& !('A' <= mons[res].mlet && mons[res].mlet <= 'Z'))
&& !('A' <= monsym(&mons[res]) && monsym(&mons[res]) <= 'Z'))
res = ROLL_FROM(nasties);
/* if genocided or too difficult or out of place, try a substitute