summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r--crawl-ref/source/spells2.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index 9c8ab0459b..e730a7a7a8 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -348,22 +348,23 @@ bool brand_weapon(brand_type which_brand, int power)
msg += " glows silver and feels heavier.";
duration_affected = 7;
break;
+
default:
break;
}
- if ( !temp_brand )
+ if (!temp_brand)
{
- set_item_ego_type( weapon, OBJ_WEAPONS, which_brand );
+ set_item_ego_type(weapon, OBJ_WEAPONS, which_brand);
you.wield_change = true;
}
- if ( emit_special_message )
+ if (emit_special_message)
mpr(msg.c_str());
else
mprf("%s flashes.", weapon.name(DESC_CAP_YOUR).c_str());
- const int dur_change = duration_affected + roll_dice( 2, power );
+ const int dur_change = duration_affected + roll_dice(2, power);
you.duration[DUR_WEAPON_BRAND] += dur_change;