From 3cd4f2551a3e74ffe501ff2cf690454b06d4ed9c Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 16 Aug 2015 21:34:40 -0400 Subject: [PATCH] v0.3.1: fixed traps not being visible when they should be --- .../shatteredpixeldungeon/levels/traps/Trap.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/levels/traps/Trap.java b/src/com/shatteredpixel/shatteredpixeldungeon/levels/traps/Trap.java index 59ebf6f8b..ef79202e3 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/levels/traps/Trap.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/levels/traps/Trap.java @@ -81,7 +81,10 @@ public abstract class Trap implements Bundlable { protected void disarm(){ Dungeon.level.disarmTrap(pos); active = false; - if (sprite != null) sprite.reset( this ); + if (sprite != null) { + sprite.visible = true; + sprite.reset( this ); + } } private static final String POS = "pos";