summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/actor.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-07-18 23:13:34 -0400
committerNeil Moore <neil@s-z.org>2014-07-18 23:15:26 -0400
commit3000a8c17b790010a24a76b12d09f75646e0a443 (patch)
treece63598db0c63fa9395c43478db9f0e5f0b54cb1 /crawl-ref/source/actor.cc
parentf27e6ab4a14487cedb8c3d1b6bd1dd87b5744187 (diff)
downloadcrawl-ref-3000a8c17b790010a24a76b12d09f75646e0a443.tar.gz
crawl-ref-3000a8c17b790010a24a76b12d09f75646e0a443.zip
Clear Engulf status when forcibly separated (#7437)
The status still doesn't end immediately when the engulfer dies etc.: see bug #7394.
Diffstat (limited to 'crawl-ref/source/actor.cc')
-rw-r--r--crawl-ref/source/actor.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/actor.cc b/crawl-ref/source/actor.cc
index 8799d57465..54d1c3edde 100644
--- a/crawl-ref/source/actor.cc
+++ b/crawl-ref/source/actor.cc
@@ -559,6 +559,7 @@ void actor::stop_being_constricted(bool quiet)
void actor::clear_far_constrictions()
{
+ clear_far_engulf();
actor* const constrictor = actor_by_mid(constricted_by);
if (!constrictor || !adjacent(pos(), constrictor->pos()))