diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-24 07:52:37 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-24 07:52:37 +0000 |
commit | ce05e64645f5e9ba07c5b8b72d0da8d5f8cecb28 (patch) | |
tree | 4e546f0e70ac9c88be6c39358089d783a96ec0f0 /crawl-ref/source/invent.cc | |
parent | eedd926a2de32ac965b9cae1dd30242f75c479f5 (diff) | |
download | crawl-ref-ce05e64645f5e9ba07c5b8b72d0da8d5f8cecb28.tar.gz crawl-ref-ce05e64645f5e9ba07c5b8b72d0da8d5f8cecb28.zip |
Change quiver output to that of the next item actually fired. Currently
updates correctly on firing and dropping quivered items. May be buggy.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6107 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/invent.cc')
-rw-r--r-- | crawl-ref/source/invent.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc index 3a3f6169d6..b623a73411 100644 --- a/crawl-ref/source/invent.cc +++ b/crawl-ref/source/invent.cc @@ -1287,7 +1287,7 @@ bool check_warning_inscriptions( const item_def& item, // // It returns PROMPT_ABORT if the player hits escape. // It returns PROMPT_GOT_SPECIAL if the player hits the "other_valid_char". -// It retursn PROMPT_NOTHING if there's no matching items +// It returns PROMPT_NOTHING if there are no matching items. // // Note: This function never checks if the item is appropriate. int prompt_invent_item( const char *prompt, @@ -1307,7 +1307,7 @@ int prompt_invent_item( const char *prompt, } unsigned char keyin = 0; - int ret = PROMPT_ABORT; + int ret = PROMPT_ABORT; bool need_redraw = false; bool need_prompt = true; |