summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-mis.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-22 08:54:18 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-22 08:54:18 +0000
commitd8293d7a060825baad3044969d895d3d8d039ebc (patch)
tree538f8b84ef10747f5a166db1b88e05d85f4ceaa9 /crawl-ref/source/spl-mis.cc
parent50d4d026d2cf6e6787e7060a6c76e9aaf8791d82 (diff)
downloadcrawl-ref-d8293d7a060825baad3044969d895d3d8d039ebc.tar.gz
crawl-ref-d8293d7a060825baad3044969d895d3d8d039ebc.zip
Remove erroneous monster miscast message.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8690 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-mis.cc')
-rw-r--r--crawl-ref/source/spl-mis.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/spl-mis.cc b/crawl-ref/source/spl-mis.cc
index 028d6ab93e..5299769966 100644
--- a/crawl-ref/source/spl-mis.cc
+++ b/crawl-ref/source/spl-mis.cc
@@ -572,11 +572,11 @@ bool MiscastEffect::_lose_stat(unsigned char which_stat,
int val;
- switch(which_stat)
+ switch (which_stat)
{
- case STAT_STRENGTH: val = you.strength; break;
- case STAT_INTELLIGENCE: val = you.intel; break;
- case STAT_DEXTERITY: val = you.dex; break;
+ case STAT_STRENGTH: val = you.strength; break;
+ case STAT_INTELLIGENCE: val = you.intel; break;
+ case STAT_DEXTERITY: val = you.dex; break;
default: DEBUGSTR("Invalid stat type."); return (false);
}
@@ -2402,7 +2402,7 @@ void MiscastEffect::_air(int severity)
{
case 0:
you_msg = "Ouch! You gave yourself an electric shock.";
- mon_msg = "Ouch! You gave yourself an electric shock.";
+ // Monster messages needed.
break;
case 1:
you_msg = "You feel momentarily weightless.";