summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-15 10:49:36 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-15 11:01:58 -0600
commit04d5d1b2d35b9a5ff26635a9142c1a05446b6af8 (patch)
tree050f50613aa9d51368be1825e18915ca60e7618f /crawl-ref/source/spells2.cc
parent022f59dd19d3fca0debba22cf4044453c67672ce (diff)
downloadcrawl-ref-04d5d1b2d35b9a5ff26635a9142c1a05446b6af8.tar.gz
crawl-ref-04d5d1b2d35b9a5ff26635a9142c1a05446b6af8.zip
Remove canned messages in brand_ammo() when it fails.
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r--crawl-ref/source/spells2.cc18
1 files changed, 0 insertions, 18 deletions
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;
}