diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2014-05-12 04:21:25 +0100 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2014-05-12 05:00:38 +0100 |
commit | 4f0ef79f26417a680cfc16018a6655407fd977ee (patch) | |
tree | 02eeebe7cfe039dfcee983ca67a6775e53b6df27 /crawl-ref/source/player-stats.cc | |
parent | 020cafce5921f89eabdaa160e78ceaf4ff955e4e (diff) | |
download | crawl-ref-4f0ef79f26417a680cfc16018a6655407fd977ee.tar.gz crawl-ref-4f0ef79f26417a680cfc16018a6655407fd977ee.zip |
Remove various references to use-IDing jewellery that now identifies on equip
There's probably a bunch more obsolete code for this still lying around.
Diffstat (limited to 'crawl-ref/source/player-stats.cc')
-rw-r--r-- | crawl-ref/source/player-stats.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/crawl-ref/source/player-stats.cc b/crawl-ref/source/player-stats.cc index a403fbb2d5..c6bde77935 100644 --- a/crawl-ref/source/player-stats.cc +++ b/crawl-ref/source/player-stats.cc @@ -529,16 +529,6 @@ bool lose_stat(stat_type which_stat, int stat_loss, bool force, int sust = player_sust_abil(); stat_loss >>= sust; - - if (sust && !player_sust_abil(false)) - { - item_def *ring = get_only_unided_ring(); - if (ring && !is_artefact(*ring) - && ring->sub_type == RING_SUSTAIN_ABILITIES) - { - wear_id_type(*ring); - } - } } mprf(stat_loss > 0 ? MSGCH_WARN : MSGCH_PLAIN, |