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/dbg-util.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/dbg-util.cc')
-rw-r--r-- | crawl-ref/source/dbg-util.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/dbg-util.cc b/crawl-ref/source/dbg-util.cc index 1f1c15db2c..51ae2c2f38 100644 --- a/crawl-ref/source/dbg-util.cc +++ b/crawl-ref/source/dbg-util.cc @@ -462,7 +462,8 @@ void wizard_toggle_dprf() if (key_is_escape(keyin) || keyin == ' ' || keyin == '\r' || keyin == '\n') { - return mpr("M'kay."); + canned_msg(MSG_OK); + return; } if (keyin < '0' || keyin >= '0' + NUM_DIAGNOSTICS) |