Using a cursed tin whistle in a vault summons the guard

...since guards respond to shrill whistles.
Based on a patch by Leon Arnott.
This commit is contained in:
Pasi Kallinen
2017-08-04 22:41:26 +03:00
parent e2904012b7
commit b6d1ee3320
5 changed files with 16 additions and 1 deletions

View File

@@ -445,6 +445,8 @@ struct obj *obj;
} else {
You(whistle_str, obj->cursed ? "shrill" : "high");
wake_nearby();
if (obj->cursed)
vault_summon_gd();
}
}