summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/transform.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-05-25 04:22:02 +0100
committerChris Campbell <chriscampbell89@gmail.com>2014-05-25 04:34:26 +0100
commit5c6660199cfd1ab30d5b9b9f98557c425e0efc6a (patch)
tree377d918755ff9fdc916afefb05d86304e87748e9 /crawl-ref/source/transform.cc
parentccb3c91521b1461b659fce297cf53e94d49bc417 (diff)
downloadcrawl-ref-5c6660199cfd1ab30d5b9b9f98557c425e0efc6a.tar.gz
crawl-ref-5c6660199cfd1ab30d5b9b9f98557c425e0efc6a.zip
Make entering spider form while stuck in a web free the player
Diffstat (limited to 'crawl-ref/source/transform.cc')
-rw-r--r--crawl-ref/source/transform.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/transform.cc b/crawl-ref/source/transform.cc
index c2f8d981b8..5a8838c7c7 100644
--- a/crawl-ref/source/transform.cc
+++ b/crawl-ref/source/transform.cc
@@ -1100,11 +1100,11 @@ bool transform(int pow, transformation_type which_trans, bool involuntary,
if (you.attribute[ATTR_HELD])
{
trap_def *trap = find_trap(you.pos());
- // Some folks claims it's "a bug", and spiders should be immune
- // to webs. They know how to walk safely, but not if already
- // entangled. So let's give a message.
if (trap && trap->type == TRAP_WEB)
- mpr("You wish you had such spider senses a moment ago.");
+ {
+ mpr("You disentangle yourself from the web.");
+ you.attribute[ATTR_HELD] = 0;
+ }
}
break;