diff options
author | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-07-03 18:33:25 -0700 |
---|---|---|
committer | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-07-04 09:25:24 -0700 |
commit | 17bf3f41985eb554493439fcc55374eee91b5791 (patch) | |
tree | 77acc937469cf0fd92cf7a9f1d75e34903545b3d /crawl-ref/source/dungeon.cc | |
parent | acc10fcd8e7cd611a91c69dc0e1b0e29ebf5e918 (diff) | |
download | crawl-ref-17bf3f41985eb554493439fcc55374eee91b5791.tar.gz crawl-ref-17bf3f41985eb554493439fcc55374eee91b5791.zip |
Simplify blood potion initialization
The back-compat code was hardly needed when it was added,
much less now.
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r-- | crawl-ref/source/dungeon.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc index a17c1ee1b8..5b9e69d24f 100644 --- a/crawl-ref/source/dungeon.cc +++ b/crawl-ref/source/dungeon.cc @@ -69,7 +69,6 @@ #include "random.h" #include "random-weight.h" #include "religion.h" -#include "rot.h" #include "show.h" #include "spl-book.h" #include "spl-transloc.h" @@ -4517,11 +4516,7 @@ static bool _apply_item_props(item_def &item, const item_spec &spec, if (!spec.corpselike()) origin_reset(item); if (is_stackable_item(item) && spec.qty > 0) - { item.quantity = spec.qty; - if (is_blood_potion(item)) - init_stack_blood_potions(item); - } if (spec.item_special) item.special = spec.item_special; |