won't work when silenced.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5308 c06c8d41-db1a-0410-9941-cceddc491573
YBYCTMIHQ2LLSLZNC6CLZ26KJVQZBNAM23ZVZKYSFC2DKTAXHVZAC
if (!silenced(you.x_pos, you.y_pos))
{
msg::stream << "You hear the distant roaring of an enraged "
<< weird_roaring_animal() << "!" << std::endl;
}
else if (you.attribute[ATTR_TRANSFORMATION] != TRAN_AIR)
mpr("Your skull vibrates slightly.");
else
canned_msg(MSG_NOTHING_HAPPENS);
msg::stream << "You hear the distant roaring of an enraged "
<< weird_roaring_animal() << "!" << std::endl;
if (!silenced(you.x_pos, you.y_pos))
{
temp_rand = random2(9);
mprf("You hear %s.",
(temp_rand == 0) ? "snatches of song" :
(temp_rand == 1) ? "a voice call someone else's name" :
(temp_rand == 2) ? "a very strange noise" :
(temp_rand == 3) ? "roaring flame" :
(temp_rand == 4) ? "a very strange noise indeed" :
(temp_rand == 5) ? "the chiming of a distant gong" :
(temp_rand == 6) ? "the bellowing of a yak" :
(temp_rand == 7) ? "a crunching sound"
: "the tinkle of an enormous bell");
}
else if (you.attribute[ATTR_TRANSFORMATION] != TRAN_AIR)
mpr("Your head hurts.");
else
canned_msg(MSG_NOTHING_HAPPENS);
temp_rand = random2(9);
mprf("You hear %s.",
(temp_rand == 0) ? "snatches of song" :
(temp_rand == 1) ? "a voice call someone else's name" :
(temp_rand == 2) ? "a very strange noise" :
(temp_rand == 3) ? "roaring flame" :
(temp_rand == 4) ? "a very strange noise indeed" :
(temp_rand == 5) ? "the chiming of a distant gong" :
(temp_rand == 6) ? "the bellowing of a yak" :
(temp_rand == 7) ? "a crunching sound"
: "the tinkle of an enormous bell");