diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-15 22:25:11 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-15 22:25:11 +0000 |
commit | 9555f782913d3cf3ab1e57a3280a6a0439df9154 (patch) | |
tree | d66fd342bc5da8000986a05b013c8ab6401dfe7d /crawl-ref/source/quiver.cc | |
parent | 420044b3c16c778b37fde736c26a7e4863b69a48 (diff) | |
download | crawl-ref-9555f782913d3cf3ab1e57a3280a6a0439df9154.tar.gz crawl-ref-9555f782913d3cf3ab1e57a3280a6a0439df9154.zip |
Fix Evaporate prompt doing the opposite of the player's answer.
Fix some more instances of crashes resulting from PROMPT_NOTHING.
Change shadow dragon corpse type to rotting.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6569 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/quiver.cc')
-rw-r--r-- | crawl-ref/source/quiver.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/crawl-ref/source/quiver.cc b/crawl-ref/source/quiver.cc index e40a76159a..12b8d5a9ad 100644 --- a/crawl-ref/source/quiver.cc +++ b/crawl-ref/source/quiver.cc @@ -147,12 +147,7 @@ void choose_item_for_quiver() OSEL_THROWABLE, true, true, true, '-', you.equip[EQ_WEAPON], NULL, OPER_QUIVER ); - if (slot == PROMPT_ABORT) - { - canned_msg(MSG_OK); - return; - } - else if (slot == PROMPT_NOTHING) + if (prompt_failed(slot)) return; if (slot == PROMPT_GOT_SPECIAL) // '-' or empty quiver |