diff options
author | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-05 21:48:43 +0300 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-05 20:54:38 +0100 |
commit | 823bd7c3cb7d42efad29de3d98d3def28aa4c63f (patch) | |
tree | e9c572d13b626475a97fbc8aba81cabeb50bcd48 /crawl-ref/source/fight.cc | |
parent | 5cae6a4d1a66d74223cf4b6001b234d24be329d9 (diff) | |
download | crawl-ref-823bd7c3cb7d42efad29de3d98d3def28aa4c63f.tar.gz crawl-ref-823bd7c3cb7d42efad29de3d98d3def28aa4c63f.zip |
Replace mons_is_caught with monsters::caught.
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r-- | crawl-ref/source/fight.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc index 3d88c58563..003b546b59 100644 --- a/crawl-ref/source/fight.cc +++ b/crawl-ref/source/fight.cc @@ -313,7 +313,7 @@ unchivalric_attack_type is_unchivalric_attack(const actor *attacker, unchivalric = UCAT_INVISIBLE; // held in a net - if (def && mons_is_caught(def)) + if (def && def->caught()) unchivalric = UCAT_HELD_IN_NET; // petrifying |