summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/effects.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index 820d86a627..9b08452a0d 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -1746,6 +1746,7 @@ bool recharge_wand(int item_slot)
{
case WAND_INVISIBILITY:
case WAND_FIREBALL:
+ case WAND_TELEPORTATION:
case WAND_HEALING:
case WAND_HASTING:
charge_gain = 3;
@@ -1776,7 +1777,7 @@ bool recharge_wand(int item_slot)
if (wand.plus > charge_gain * 3)
wand.plus = charge_gain * 3;
}
- else
+ else
{
// This is a rod.
bool work = false;
@@ -1797,7 +1798,7 @@ bool recharge_wand(int item_slot)
work = true;
}
- if (!work)
+ if (!work)
return (false);
mprf("%s glows for a moment.", wand.name(DESC_CAP_YOUR).c_str());