diff options
author | Shmuale Mark <shm.mark@gmail.com> | 2014-03-02 19:57:17 -0500 |
---|---|---|
committer | Shmuale Mark <shm.mark@gmail.com> | 2014-03-02 20:01:15 -0500 |
commit | 4e34cb1a75709db4dff0a11f1167a4accd30d81d (patch) | |
tree | a5dfcc5364c8e4632ea94e7b9f3e4da0752212dc /crawl-ref/source/mutation.cc | |
parent | 9455bd2214c03ca917d4767f200835bf4a617de7 (diff) | |
download | crawl-ref-4e34cb1a75709db4dff0a11f1167a4accd30d81d.tar.gz crawl-ref-4e34cb1a75709db4dff0a11f1167a4accd30d81d.zip |
Remove insignificant speed-up of corpse rotting with Powered by Death.
Diffstat (limited to 'crawl-ref/source/mutation.cc')
-rw-r--r-- | crawl-ref/source/mutation.cc | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/crawl-ref/source/mutation.cc b/crawl-ref/source/mutation.cc index 2bcb03b8e4..af174f4069 100644 --- a/crawl-ref/source/mutation.cc +++ b/crawl-ref/source/mutation.cc @@ -2663,7 +2663,7 @@ void check_antennae_detect() } } -int handle_pbd_corpses(bool do_rot) +int handle_pbd_corpses() { int corpse_count = 0; @@ -2679,14 +2679,6 @@ int handle_pbd_corpses(bool do_rot) && !j->props.exists("never_hide")) { ++corpse_count; - - int chance = player_mutation_level(MUT_POWERED_BY_DEATH)*16; - if (do_rot && x_chance_in_y(you.duration[DUR_POWERED_BY_DEATH], - chance)) - { - j->special -= random2(3); - } - if (corpse_count == 7) break; } |