more fixes via monsym()
This commit is contained in:
@@ -4760,7 +4760,7 @@ select_newcham_form(struct monst* mon)
|
||||
} while (--tryct > 0 && !validspecmon(mon, mndx)
|
||||
/* try harder to select uppercase monster on rogue level */
|
||||
&& (tryct > 40 && Is_rogue_level(&u.uz)
|
||||
&& !isupper((uchar) mons[mndx].mlet)));
|
||||
&& !isupper(monsym(&mons[mndx]))));
|
||||
}
|
||||
return mndx;
|
||||
}
|
||||
@@ -4865,7 +4865,7 @@ newcham(
|
||||
/* for the first several tries we require upper-case on
|
||||
the rogue level (after that, we take whatever we get) */
|
||||
if (tryct > 15 && Is_rogue_level(&u.uz)
|
||||
&& mdat && !isupper((uchar) mdat->mlet))
|
||||
&& mdat && !isupper(monsym(mdat)))
|
||||
mdat = 0;
|
||||
if (mdat)
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user