summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/status.cc
diff options
context:
space:
mode:
authorreaver <address.auto@gmail.com>2014-04-26 02:23:29 -0400
committerreaverb <reaverb.Crawl@gmail.com>2014-05-07 21:45:07 -0400
commita3d40d3a14befa17830433262494841fb1bb274c (patch)
treea331acb2c3698cbf804efefd3cf9805c540e2567 /crawl-ref/source/status.cc
parent756ac6bdf381ed97f3a4d3f0f6ea9e6070d992eb (diff)
downloadcrawl-ref-a3d40d3a14befa17830433262494841fb1bb274c.tar.gz
crawl-ref-a3d40d3a14befa17830433262494841fb1bb274c.zip
Revert "Revert "Remove player clinging"."
This reverts commit 65ff1ef470978c29490100d1732bf2b9ce2fb7cd. Conflicts: crawl-ref/source/main.cc crawl-ref/source/output.cc crawl-ref/source/player.cc crawl-ref/source/shout.cc crawl-ref/source/status.cc crawl-ref/source/status.h crawl-ref/source/terrain.cc crawl-ref/source/transform.cc Minor, prerequesite reverts: b0d520741c8e9a26e7a786a34285f7a9412d8d10 Trival removal of clinging from the Boots of the Spider 3e0928f93c3f8a78ac6327c26986b406f7d7f603 (conflict in crawl-ref/source/item_use.cc) Thanks to gammafunk for removing the last bits of clinging code! To do: Decide what to do about the boots of the spider.
Diffstat (limited to 'crawl-ref/source/status.cc')
-rw-r--r--crawl-ref/source/status.cc18
1 files changed, 0 insertions, 18 deletions
diff --git a/crawl-ref/source/status.cc b/crawl-ref/source/status.cc
index e445571a32..109af99cae 100644
--- a/crawl-ref/source/status.cc
+++ b/crawl-ref/source/status.cc
@@ -505,24 +505,6 @@ bool fill_status_info(int status, status_info* inf)
_describe_transform(inf);
break;
- case STATUS_CLINGING:
- if (you.is_wall_clinging())
- {
- inf->light_text = "Cling";
- inf->short_text = "clinging";
- inf->long_text = "You cling to the nearby walls.";
- const dungeon_feature_type feat = grd(you.pos());
- if (is_feat_dangerous(feat))
- inf->light_colour = LIGHTGREEN;
- else if (feat == DNGN_LAVA || feat_is_water(feat))
- inf->light_colour = GREEN;
- else
- inf->light_colour = DARKGREY;
- if (you.form == TRAN_SPIDER)
- _mark_expiring(inf, dur_expiring(DUR_TRANSFORMATION));
- }
- break;
-
case STATUS_STR_ZERO:
_describe_stat_zero(inf, STAT_STR);
break;