From 823bd7c3cb7d42efad29de3d98d3def28aa4c63f Mon Sep 17 00:00:00 2001 From: Vsevolod Kozlov Date: Thu, 5 Nov 2009 21:48:43 +0300 Subject: Replace mons_is_caught with monsters::caught. Signed-off-by: Robert Vollmert --- crawl-ref/source/beam.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/beam.cc') 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) -- cgit v1.2.3-54-g00ecf