diff options
author | Pekka Lampila <pekka.lampila@iki.fi> | 2013-06-09 13:32:43 +0300 |
---|---|---|
committer | Pekka Lampila <pekka.lampila@iki.fi> | 2013-06-10 07:29:30 +0300 |
commit | c7e4383460b92074550587d50a507fe91901ff63 (patch) | |
tree | 4f14d4c25ca10eb73bd4d185be0e2850f0255c98 /crawl-ref/source/spl-clouds.cc | |
parent | 3b9ce244f7719403408f411b33e9bb0989643215 (diff) | |
download | crawl-ref-c7e4383460b92074550587d50a507fe91901ff63.tar.gz crawl-ref-c7e4383460b92074550587d50a507fe91901ff63.zip |
Add MSG_OK when canceling for various prompts
Also in a couple of cases add other messages. The goal here is to always
print something when a prompt is dealt with.
Diffstat (limited to 'crawl-ref/source/spl-clouds.cc')
-rw-r--r-- | crawl-ref/source/spl-clouds.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-clouds.cc b/crawl-ref/source/spl-clouds.cc index 9dcddfcb87..cf436679ab 100644 --- a/crawl-ref/source/spl-clouds.cc +++ b/crawl-ref/source/spl-clouds.cc @@ -300,7 +300,10 @@ spret_type cast_corpse_rot(bool fail) if (si->base_type == OBJ_CORPSES && si->sub_type == CORPSE_BODY) { if (!yesno(("Really cast Corpse Rot while standing on " + si->name(DESC_A) + "?").c_str(), false, 'n')) + { + canned_msg(MSG_OK); return SPRET_ABORT; + } break; } } |