diff options
author | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-05 19:58:50 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-05 19:58:50 +1000 |
commit | b9def0122143459c4d1fd0721384028f3974dc69 (patch) | |
tree | f7b26f422d93b6f6769a45cb757c9075279a7c6a /crawl-ref/source/delay.cc | |
parent | 313465bf23382559f7c26c63849b64266c8d939f (diff) | |
download | crawl-ref-b9def0122143459c4d1fd0721384028f3974dc69.tar.gz crawl-ref-b9def0122143459c4d1fd0721384028f3974dc69.zip |
Move *_res(ist)_magic to relevant classes, provide actor interface.
Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
Diffstat (limited to 'crawl-ref/source/delay.cc')
-rw-r--r-- | crawl-ref/source/delay.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc index 5914aa4e5d..c5854a5fad 100644 --- a/crawl-ref/source/delay.cc +++ b/crawl-ref/source/delay.cc @@ -105,7 +105,7 @@ static int _recite_to_monsters(coord_def where, int pow, int, actor *) resist = std::max(0, 7 - random2(you.skills[SK_INVOCATIONS])); else { - resist = mons_resist_magic(mon); + resist = mon->res_magic(); if (holiness == MH_UNDEAD) pow -= 2 + random2(3); |