summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.h
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-07-18 23:35:31 -0400
committerNeil Moore <neil@s-z.org>2014-07-18 23:38:04 -0400
commitb4cbbce6907c3fb076f0f0dddf6cc7aaaeec842e (patch)
tree1e24cc8a8fc4e33a6124a534bd198fcdbbd61955 /crawl-ref/source/player.h
parent3000a8c17b790010a24a76b12d09f75646e0a443 (diff)
downloadcrawl-ref-b4cbbce6907c3fb076f0f0dddf6cc7aaaeec842e.tar.gz
crawl-ref-b4cbbce6907c3fb076f0f0dddf6cc7aaaeec842e.zip
Handle another engulf ender (#7437)
This time when your engulfer is trampled away. We don't handle the case where a monster's engulfer is trampled away, sorry: if we want to do that, we should generalise the constriction code and remove the engulf enchantment/duration. Make clear_far_engulf() public to support this change.
Diffstat (limited to 'crawl-ref/source/player.h')
-rw-r--r--crawl-ref/source/player.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h
index 442eae462b..51899a5383 100644
--- a/crawl-ref/source/player.h
+++ b/crawl-ref/source/player.h
@@ -755,14 +755,14 @@ public:
bool form_uses_xl() const;
+ bool clear_far_engulf();
+
protected:
void _removed_beholder(bool quiet = false);
bool _possible_beholder(const monster* mon) const;
void _removed_fearmonger(bool quiet = false);
bool _possible_fearmonger(const monster* mon) const;
-
- bool clear_far_engulf();
};
#ifdef DEBUG_GLOBALS