summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-gear.cc
diff options
context:
space:
mode:
authorgammafunk <gammafunk@gmail.com>2014-06-25 12:29:09 -0500
committergammafunk <gammafunk@gmail.com>2014-06-25 12:29:09 -0500
commit259044d0f8f1f1a8a2724f57f50e8e1703f53110 (patch)
treecfc5894bac6167bbf44238f707f9809c5e60ab9c /crawl-ref/source/mon-gear.cc
parent5c27b2e82a3dd445a926166bfc8cdbffdc3fcbdf (diff)
downloadcrawl-ref-259044d0f8f1f1a8a2724f57f50e8e1703f53110.tar.gz
crawl-ref-259044d0f8f1f1a8a2724f57f50e8e1703f53110.zip
Don't try to give the horn to Geryon twice
Diffstat (limited to 'crawl-ref/source/mon-gear.cc')
-rw-r--r--crawl-ref/source/mon-gear.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-gear.cc b/crawl-ref/source/mon-gear.cc
index c4e8f52a32..c7c993fedf 100644
--- a/crawl-ref/source/mon-gear.cc
+++ b/crawl-ref/source/mon-gear.cc
@@ -1222,6 +1222,8 @@ static void _give_weapon(monster* mon, int level, bool melee_only = false,
// worth it, unless we have more monsters with misc. items.
item.base_type = OBJ_MISCELLANY;
item.sub_type = MISC_HORN_OF_GERYON;
+ // Don't attempt to give the horn again.
+ give_aux_melee = false;
break;
case MONS_SALAMANDER: