diff options
Diffstat (limited to 'crawl-ref/source/food.cc')
-rw-r--r-- | crawl-ref/source/food.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc index a137943d04..87fdbb15dd 100644 --- a/crawl-ref/source/food.cc +++ b/crawl-ref/source/food.cc @@ -141,7 +141,7 @@ void weapon_switch( int targ ) // code is a mess... this whole function's purpose was to // isolate this hack until there's a proper way to do things. -- bwr if (you.equip[EQ_WEAPON] != -1) - unwield_item(you.equip[EQ_WEAPON], false); + unwield_item(false); you.equip[EQ_WEAPON] = targ; |