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/xom.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/xom.cc')
-rw-r--r-- | crawl-ref/source/xom.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc index 05a51fcc82..d6ab40cecc 100644 --- a/crawl-ref/source/xom.cc +++ b/crawl-ref/source/xom.cc @@ -1480,8 +1480,8 @@ static bool _swap_monsters(monsters *m1, monsters *m2) monsters& mon1(*m1); monsters& mon2(*m2); - const bool mon1_caught = mons_is_caught(&mon1); - const bool mon2_caught = mons_is_caught(&mon2); + const bool mon1_caught = mon1.caught(); + const bool mon2_caught = mon2.caught(); const coord_def mon1_pos = mon1.pos(); const coord_def mon2_pos = mon2.pos(); |