diff options
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r-- | crawl-ref/source/spells2.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc index 80c849b89f..a03676bdc2 100644 --- a/crawl-ref/source/spells2.cc +++ b/crawl-ref/source/spells2.cc @@ -534,7 +534,7 @@ void cast_twisted(int power, beh_type corps_beh, int corps_hit) } } // end cast_twisted() -bool brand_weapon(int which_brand, int power) +bool brand_weapon(brand_type which_brand, int power) { int temp_rand; // probability determination {dlb} int duration_affected = 0; //jmf: NB: now HOW LONG, not WHICH BRAND. @@ -639,6 +639,8 @@ bool brand_weapon(int which_brand, int power) msg += " glows silver and feels heavier."; duration_affected = 7; break; + default: + break; } set_item_ego_type( you.inv[wpn], OBJ_WEAPONS, which_brand ); |