summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-wpnench.h
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-06-12 14:05:34 -0400
committerNeil Moore <neil@s-z.org>2014-06-12 14:06:20 -0400
commit62da3a1b50ace201ebcccd202515e3685b5e3234 (patch)
tree84de9535e9db7a32c29ec450f059fce02bebb07b /crawl-ref/source/spl-wpnench.h
parente561a6638b9c70b2f3ad265faa83520c7af28226 (diff)
downloadcrawl-ref-62da3a1b50ace201ebcccd202515e3685b5e3234.tar.gz
crawl-ref-62da3a1b50ace201ebcccd202515e3685b5e3234.zip
Don't crash when unwielding a temp-branded weapon.
Diffstat (limited to 'crawl-ref/source/spl-wpnench.h')
-rw-r--r--crawl-ref/source/spl-wpnench.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-wpnench.h b/crawl-ref/source/spl-wpnench.h
index 6f276591e5..1cf03354ee 100644
--- a/crawl-ref/source/spl-wpnench.h
+++ b/crawl-ref/source/spl-wpnench.h
@@ -6,7 +6,7 @@
class dist;
-void end_weapon_brand(bool verbose = false);
+void end_weapon_brand(item_def &weapon, bool verbose = false);
spret_type brand_weapon(brand_type which_brand, int power, bool fail = false);
spret_type cast_confusing_touch(int power, bool fail);