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/beam.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/beam.cc')
-rw-r--r-- | crawl-ref/source/beam.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index 6ad38c53f5..48a28d0076 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -3060,7 +3060,7 @@ void bolt::drop_object() monsters* m = monster_at(pos()); // Player or monster at position is caught in net. if (you.pos() == pos() && you.attribute[ATTR_HELD] - || m && mons_is_caught(m)) + || m && m->caught()) { // If no trapping net found mark this one. if (get_trapping_net(pos(), true) == NON_ITEM) |