diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-11-22 12:54:01 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-11-22 12:54:01 +0000 |
commit | 00036797ff4a87871c5477f09499795676306b60 (patch) | |
tree | cfd439f6779bd695f936b24c992252b263ad6d92 /crawl-ref/source/invent.cc | |
parent | c160159882457fde2b8b9d46ee5cf3f7554a4d6a (diff) | |
download | crawl-ref-00036797ff4a87871c5477f09499795676306b60.tar.gz crawl-ref-00036797ff4a87871c5477f09499795676306b60.zip |
Goodbye, gold dropping. We wish thee well.
If I misunderstood and this is still up for debate, my apologies and please
revert.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@462 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 437b01c4fc..f8545bb11c 100644 --- a/crawl-ref/source/invent.cc +++ b/crawl-ref/source/invent.cc @@ -619,7 +619,7 @@ std::vector<SelItem> prompt_invent_items( // Note: We handle any "special" character first, so that // it can be used to override the others. - if (other_valid_char != '\0' && keyin == other_valid_char) + if (other_valid_char != 0 && keyin == other_valid_char) { ret = PROMPT_GOT_SPECIAL; break; @@ -804,7 +804,7 @@ int prompt_invent_item( const char *prompt, // Note: We handle any "special" character first, so that // it can be used to override the others. - if (other_valid_char != '\0' && keyin == other_valid_char) + if (other_valid_char != 0 && keyin == other_valid_char) { ret = PROMPT_GOT_SPECIAL; break; |