diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-17 11:33:08 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-17 11:33:08 +0000 |
commit | ab86f8464ed1b3f73f2e19e01a63089777d91c23 (patch) | |
tree | ac5f1a06601a1e352dc50557ee87de6df58576a2 /crawl-ref/source/makeitem.cc | |
parent | 7a59ae1d8c8f909cf0f1b3247b8cb2f3e369733f (diff) | |
download | crawl-ref-ab86f8464ed1b3f73f2e19e01a63089777d91c23.tar.gz crawl-ref-ab86f8464ed1b3f73f2e19e01a63089777d91c23.zip |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4285 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r-- | crawl-ref/source/makeitem.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc index 096eac8612..88820c61d2 100644 --- a/crawl-ref/source/makeitem.cc +++ b/crawl-ref/source/makeitem.cc @@ -2928,8 +2928,10 @@ static void give_potion(monsters *mon, int level) //mv - give potion if (mons_species( mon->type ) == MONS_VAMPIRE && one_chance_in(5)) { + // This handles initialization of stack timer. const int thing_created = items(0, OBJ_POTIONS, POT_BLOOD, true, level, 0); + if (thing_created == NON_ITEM) return; |