summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 80e630bc2d..ac9f0c6e25 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -3546,6 +3546,9 @@ void zap_wand( int slot )
// Take off a charge.
wand.plus--;
+ // Zap counts count from the last recharge.
+ if (wand.plus2 == ZAPCOUNT_RECHARGED)
+ wand.plus2 = 0;
// Increment zap count.
if (wand.plus2 >= 0)
wand.plus2++;