diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-28 10:36:12 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-28 10:36:12 +0000 |
commit | b4bd9e532d378f36e4cb3c95b0fb0058fe231d0d (patch) | |
tree | a5df72aabdd20bae8a39f69537ea5046b01a9459 | |
parent | 6c655e395f85ccf1b6ba7b5076a0fec86f334524 (diff) | |
download | crawl-ref-b4bd9e532d378f36e4cb3c95b0fb0058fe231d0d.tar.gz crawl-ref-b4bd9e532d378f36e4cb3c95b0fb0058fe231d0d.zip |
Oops, asking for no ego was giving a flaming ego.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7671 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/debug.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/debug.cc b/crawl-ref/source/debug.cc index 4eee7ff2f2..986f602361 100644 --- a/crawl-ref/source/debug.cc +++ b/crawl-ref/source/debug.cc @@ -1458,7 +1458,7 @@ bool get_item_by_name(item_def *item, char* specs, mpr( "What ego type? ", MSGCH_PROMPT ); get_input_line( buf, sizeof( buf ) ); - if (specs[0] != '\0') + if (buf[0] != '\0') { special_wanted = 0; best_index = 10000; |