summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/shout.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-08-12 17:03:37 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-08-12 17:21:45 +0200
commit65ff1ef470978c29490100d1732bf2b9ce2fb7cd (patch)
treefdead6a4cff4b8297d260c7e5c6a3274debf98b6 /crawl-ref/source/shout.cc
parenta2beab4cc4edb9b5cad1ce8886e061e404bb0e10 (diff)
downloadcrawl-ref-65ff1ef470978c29490100d1732bf2b9ce2fb7cd.tar.gz
crawl-ref-65ff1ef470978c29490100d1732bf2b9ce2fb7cd.zip
Revert "Remove player clinging".
Minus gargoyle clinging, of course. With monster clinging back, it would be inconsistency for inconsistency sake. Player clinging: * is what people expect spiders to be able to do (if monsters can). Count on bug reports about this. * allows people to learn monster mechanics on their own * is useful in the early game, or later if you don't have that particular spell. People don't tend to lug heavy potions of Flight either. * is actually fun
Diffstat (limited to 'crawl-ref/source/shout.cc')
-rw-r--r--crawl-ref/source/shout.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/shout.cc b/crawl-ref/source/shout.cc
index 6526f78661..4fefc01e13 100644
--- a/crawl-ref/source/shout.cc
+++ b/crawl-ref/source/shout.cc
@@ -597,7 +597,8 @@ void check_player_sense(sense_type sense, int range, const coord_def& where)
break;
case SENSE_WEB_VIBRATION:
- if (you.form == TRAN_SPIDER)
+ // Spider form
+ if (you.can_cling_to_walls())
{
you.check_awaken(range - player_distance);
// Don't message if you can see the square.