From 04d5d1b2d35b9a5ff26635a9142c1a05446b6af8 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sun, 15 Nov 2009 10:49:36 -0600 Subject: Remove canned messages in brand_ammo() when it fails. --- crawl-ref/source/spells2.cc | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'crawl-ref/source/spells2.cc') diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc index 4fde90899e..7bdbe80001 100644 --- a/crawl-ref/source/spells2.cc +++ b/crawl-ref/source/spells2.cc @@ -384,7 +384,6 @@ bool brand_ammo(special_missile_type which_type) || get_ammo_brand(you.inv[ammo]) != SPMSL_NORMAL || you.inv[ammo].sub_type == MI_THROWING_NET) { - canned_msg(MSG_NOTHING_HAPPENS); return (false); } @@ -405,8 +404,6 @@ bool brand_ammo(special_missile_type which_type) retval = true; } - else - canned_msg(MSG_NOTHING_HAPPENS); break; case SPMSL_FLAME: @@ -420,8 +417,6 @@ bool brand_ammo(special_missile_type which_type) retval = true; } - else - canned_msg(MSG_NOTHING_HAPPENS); break; case SPMSL_FROST: @@ -435,8 +430,6 @@ bool brand_ammo(special_missile_type which_type) retval = true; } - else - canned_msg(MSG_NOTHING_HAPPENS); break; case SPMSL_DISPERSAL: @@ -450,8 +443,6 @@ bool brand_ammo(special_missile_type which_type) retval = true; } - else - canned_msg(MSG_NOTHING_HAPPENS); break; case SPMSL_ELECTRIC: @@ -465,8 +456,6 @@ bool brand_ammo(special_missile_type which_type) retval = true; } - else - canned_msg(MSG_NOTHING_HAPPENS); break; case SPMSL_EXPLODING: @@ -480,8 +469,6 @@ bool brand_ammo(special_missile_type which_type) retval = true; } - else - canned_msg(MSG_NOTHING_HAPPENS); break; case SPMSL_REAPING: @@ -495,8 +482,6 @@ bool brand_ammo(special_missile_type which_type) retval = true; } - else - canned_msg(MSG_NOTHING_HAPPENS); break; case SPMSL_RETURNING: @@ -510,12 +495,9 @@ bool brand_ammo(special_missile_type which_type) retval = true; } - else - canned_msg(MSG_NOTHING_HAPPENS); break; default: - canned_msg(MSG_NOTHING_HAPPENS); break; } -- cgit v1.2.3-54-g00ecf