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/mon-act.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/mon-act.cc')
-rw-r--r-- | crawl-ref/source/mon-act.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-act.cc b/crawl-ref/source/mon-act.cc index aaf47240cd..77077548b6 100644 --- a/crawl-ref/source/mon-act.cc +++ b/crawl-ref/source/mon-act.cc @@ -170,7 +170,7 @@ static bool _swap_monsters(monsters* mover, monsters* moved) static bool _do_mon_spell(monsters *monster, bolt &beem) { // Shapeshifters don't get spells. - if (!mons_is_shapeshifter(monster) || !monster->is_actual_spellcaster()) + if (!monster->is_shapeshifter() || !monster->is_actual_spellcaster()) { if (handle_mon_spell(monster, beem)) { |