intones with sound option disabled
E-mail report from <Someone>. Don't display the "intones:" prefix when !soundok since the message suffix won't be displayed in this case due to a check within verbalize().
This commit is contained in:
@@ -274,6 +274,8 @@ unskilled rider who can't reach items on floor also can't dip into moat or
|
||||
pool from flying steed
|
||||
when summoning nasty monsters, use new monster's type to decide if they can
|
||||
be placed on boulders, et al, not the summoning monster's type
|
||||
don't display the "intones:" prefix when !soundok since the message suffix
|
||||
won't be displayed in this case
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
@@ -336,7 +336,8 @@ register int roomno;
|
||||
shrined = has_shrine(priest);
|
||||
sanctum = (priest->data == &mons[PM_HIGH_PRIEST] &&
|
||||
(Is_sanctum(&u.uz) || In_endgame(&u.uz)));
|
||||
can_speak = (priest->mcanmove && !priest->msleeping);
|
||||
can_speak = (priest->mcanmove && !priest->msleeping &&
|
||||
flags.soundok);
|
||||
if (can_speak)
|
||||
pline("%s intones:",
|
||||
(!Blind ? Monnam(priest) : "A nearby voice"));
|
||||
|
||||
Reference in New Issue
Block a user