return res;
}
- static const char whistle_str[] = "produce a %s whistling sound.";
+ static const char whistle_str[] = "produce a %s whistling sound.",
+ alt_whistle_str[] = "produce a %s, sharp vibration.";
-STATIC_OVL void
+static void
use_whistle(obj)
struct obj *obj;
{
{
register struct monst *mtmp, *nextmon;
- if (!can_blow(&youmonst)) {
+ if (!can_blow(&g.youmonst)) {
You("are incapable of using the whistle.");
} else if (obj->cursed && !rn2(2)) {
- You("produce a %shigh-pitched humming noise.",
- Underwater ? "very " : "");
+ You("produce a %shigh-%s.", Underwater ? "very " : "",
+ Deaf ? "frequency vibration" : "pitched humming noise");
wake_nearby();
} else {
int pet_cnt = 0, omx, omy;