diff options
author | Eino Keskitalo <evktalo@users.sourceforge.net> | 2009-11-07 16:30:52 +0200 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-07 23:21:21 -0600 |
commit | 1c0a611a9e00fc789a8e71f1423e48bec7dd5020 (patch) | |
tree | b73d3be502e13ec1bb56e89e5382fd14f71a74ba /crawl-ref/source/xom.cc | |
parent | ee4d8d69cdded564187651f879b618a4fc2538f9 (diff) | |
download | crawl-ref-1c0a611a9e00fc789a8e71f1423e48bec7dd5020.tar.gz crawl-ref-1c0a611a9e00fc789a8e71f1423e48bec7dd5020.zip |
Merge from chaotic_experiment branch:
Replace mons_is_shapeshifter(const monsters *m) in mon-util.cc with is_shapeshifter() in monster.cc
Diffstat (limited to 'crawl-ref/source/xom.cc')
-rw-r--r-- | crawl-ref/source/xom.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc index 121075fae4..e74bcb0da0 100644 --- a/crawl-ref/source/xom.cc +++ b/crawl-ref/source/xom.cc @@ -1417,7 +1417,7 @@ static int _xom_polymorph_nearby_monster(bool helpful, bool debug = false) if (one_chance_in(8) && !mons_is_ghost_demon(mon->type) - && !mons_is_shapeshifter(mon) + && !mon->is_shapeshifter() && mon->holiness() == MH_NATURAL) { mon->add_ench(one_chance_in(3) ? ENCH_GLOWING_SHAPESHIFTER |