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/misc.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/misc.cc')
-rw-r--r-- | crawl-ref/source/misc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc index 55650b1041..9f10f2ad3c 100644 --- a/crawl-ref/source/misc.cc +++ b/crawl-ref/source/misc.cc @@ -3295,7 +3295,7 @@ void swap_with_monster(monsters *mon_to_swap) return; } - const bool mon_caught = mons_is_caught(&mon); + const bool mon_caught = mon.caught(); const bool you_caught = you.attribute[ATTR_HELD]; // If it was submerged, it surfaces first. |