summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/xom.cc
diff options
context:
space:
mode:
authorabrahamwl <abrahamwl@gmail.com>2009-10-31 06:16:23 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-31 06:29:17 -0700
commit76596a5ea224f9ed96f1282b526a86a32032c547 (patch)
treeedc249c3ea9235b78e1cf405c62579a1e58302a4 /crawl-ref/source/xom.cc
parente232445b8157b09e53b3897acbf9e47183d98a96 (diff)
downloadcrawl-ref-76596a5ea224f9ed96f1282b526a86a32032c547.tar.gz
crawl-ref-76596a5ea224f9ed96f1282b526a86a32032c547.zip
Combine mons_is_submerged(monsters *m) into monsters::submerged()
...and replace all references to mons_is_submerged() with submerged(). It's a dirty job, but someone's got to do it. (Thank God for regex!)
Diffstat (limited to 'crawl-ref/source/xom.cc')
-rw-r--r--crawl-ref/source/xom.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc
index 3627197c6e..7c77d0d76d 100644
--- a/crawl-ref/source/xom.cc
+++ b/crawl-ref/source/xom.cc
@@ -867,7 +867,7 @@ static int _xom_give_item(int power, bool debug = false)
static bool _choose_mutatable_monster(const monsters* mon)
{
return (mon->alive() && mon->can_safely_mutate()
- && !mons_is_submerged(mon));
+ && !mon->submerged());
}
static bool _is_chaos_upgradeable(const item_def &item,