summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/shopping.cc
diff options
context:
space:
mode:
authorNicholas Feinberg <pleasingfung@gmail.com>2014-07-03 18:33:25 -0700
committerNicholas Feinberg <pleasingfung@gmail.com>2014-07-04 09:25:24 -0700
commit17bf3f41985eb554493439fcc55374eee91b5791 (patch)
tree77acc937469cf0fd92cf7a9f1d75e34903545b3d /crawl-ref/source/shopping.cc
parentacc10fcd8e7cd611a91c69dc0e1b0e29ebf5e918 (diff)
downloadcrawl-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/shopping.cc')
-rw-r--r--crawl-ref/source/shopping.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/crawl-ref/source/shopping.cc b/crawl-ref/source/shopping.cc
index 25c6b6dafd..d9ed3471f0 100644
--- a/crawl-ref/source/shopping.cc
+++ b/crawl-ref/source/shopping.cc
@@ -31,7 +31,6 @@
#include "notes.h"
#include "place.h"
#include "player.h"
-#include "rot.h"
#include "spl-book.h"
#include "stash.h"
#include "state.h"
@@ -818,9 +817,6 @@ static bool _purchase(int shop, int item_got, int cost, bool id)
set_ident_flags(item, ISFLAG_IDENT_MASK);
}
- if (is_blood_potion(item))
- init_stack_blood_potions(item, -1);
-
const int quant = item.quantity;
// Note that item will be invalidated if num == item.quantity.
const int num = move_item_to_player(item_got, item.quantity, false);