diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-12 19:01:03 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-12 19:01:03 +0000 |
commit | 71f58563eac0fc0508dd65e085b0fcd98b59fab9 (patch) | |
tree | f42c4ce2a6c3c9513d53f27ec72617652410ef3a /crawl-ref/source/item_use.cc | |
parent | 6dce7d753be877ebde49c4fe52b32029faac0a82 (diff) | |
download | crawl-ref-71f58563eac0fc0508dd65e085b0fcd98b59fab9.tar.gz crawl-ref-71f58563eac0fc0508dd65e085b0fcd98b59fab9.zip |
Call mons_clear_trapping_net() in monsters::moveto(), so it shouldn't
be needed in other places. Should fix [2456879].
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9051 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index f3b722f43f..c122f041a3 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -1908,7 +1908,6 @@ static bool _dispersal_hit_victim(bolt& beam, actor* victim, int dmg, if (!(mon->flags & MF_WAS_IN_VIEW)) mon->seen_context = "thin air"; - mons_clear_trapping_net(mon); mon->move_to_pos(pos); mon->apply_location_effects(oldpos); mon->check_redraw(oldpos); |