From 8334332d0fb3f97efc06f0b2228de2947c7dddd1 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 16 Jul 2015 13:45:52 -0400 Subject: [PATCH] v0.3.1: dew drops can no longer be picked up when they would have no effect. --- src/com/shatteredpixel/shatteredpixeldungeon/items/Dewdrop.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/Dewdrop.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/Dewdrop.java index aca2b1723..471a0f409 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/Dewdrop.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/Dewdrop.java @@ -57,6 +57,8 @@ public class Dewdrop extends Item { hero.HP += effect; hero.sprite.emitter().burst( Speck.factory( Speck.HEALING ), 1 ); hero.sprite.showStatus( CharSprite.POSITIVE, TXT_VALUE, effect ); + } else { + return false; } } else if (vial != null) {