diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-09-23 09:41:47 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-09-23 09:41:47 +0000 |
commit | b6607f0c9782a2385f7351075fea5a883ba29913 (patch) | |
tree | 32f76c2ea76f7eae76d3cf04da43818e04b3f31d | |
parent | 555cd9ad0d2cc2b6c8a0171b0cca07d8ec25d5f9 (diff) | |
download | crawl-ref-b6607f0c9782a2385f7351075fea5a883ba29913.tar.gz crawl-ref-b6607f0c9782a2385f7351075fea5a883ba29913.zip |
Fixed corrosion of wierd items when wielding them
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup@90 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/ouch.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc index 2049706581..18e0a1db9e 100644 --- a/crawl-ref/source/ouch.cc +++ b/crawl-ref/source/ouch.cc @@ -372,6 +372,10 @@ void item_corrode( char itco ) suppress_msg = false; } break; + default: + /* items which aren't missiles, etc...Could happen + if we're wielding a deck, say */ + return; } // determine chance of corrosion {dlb}: |