summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-28 18:28:54 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-28 18:28:54 +0000
commit14ef20154318f3605e37aebdc2a5766f761d3177 (patch)
tree7a474c7c97eda90b7879d4ab2234e56f6620e938 /crawl-ref/source/mon-util.cc
parent2d53bc7872fb2065022a69029b71de849e4ccc97 (diff)
downloadcrawl-ref-14ef20154318f3605e37aebdc2a5766f761d3177.tar.gz
crawl-ref-14ef20154318f3605e37aebdc2a5766f761d3177.zip
Applying Eino's patches renaming snakes and eels.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10069 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r--crawl-ref/source/mon-util.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index 04aa3a9916..11009cef34 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -3583,7 +3583,7 @@ bool monsters::wants_submerge() const
return (_foe == NULL || !can_see(_foe));
}
- const bool has_ranged_attack = (type == MONS_ELECTRICAL_EEL
+ const bool has_ranged_attack = (type == MONS_ELECTRIC_EEL
|| type == MONS_LAVA_SNAKE
|| mons_genus(type) == MONS_MERMAID
&& you.species != SP_MERFOLK);
@@ -7372,7 +7372,7 @@ void monsters::apply_enchantment(const mon_enchant &me)
const dungeon_feature_type grid = grd(pos());
// Badly injured monsters prefer to stay submerged...
- // electrical eels and lava snakes have ranged attacks
+ // electric eels and lava snakes have ranged attacks
// and are more likely to surface. -- bwr
if (!monster_can_submerge(this, grid))
del_ench(ENCH_SUBMERGED); // forced to surface
@@ -7385,7 +7385,7 @@ void monsters::apply_enchantment(const mon_enchant &me)
del_ench(ENCH_SUBMERGED);
break;
}
- else if (((type == MONS_ELECTRICAL_EEL || type == MONS_LAVA_SNAKE)
+ else if (((type == MONS_ELECTRIC_EEL || type == MONS_LAVA_SNAKE)
&& (one_chance_in(50) || (mons_near(this)
&& hit_points == max_hit_points
&& !one_chance_in(10))))
@@ -8966,7 +8966,7 @@ mon_body_shape get_mon_shape(const int type)
case 'Z': // constructed type, not enough info to determine shape
return(MON_SHAPE_MISC);
case ';': // Fish and eels
- if (type == MONS_ELECTRICAL_EEL)
+ if (type == MONS_ELECTRIC_EEL)
return(MON_SHAPE_SNAKE);
else
return (MON_SHAPE_FISH);