From 88a55f333603887f2e5742f8c44c8e85981edd9d Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 12 Jun 2015 00:07:47 -0400 Subject: [PATCH] v0.3.0d: corrected an error in sign placement --- .../shatteredpixeldungeon/levels/RegularLevel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/levels/RegularLevel.java b/src/com/shatteredpixel/shatteredpixeldungeon/levels/RegularLevel.java index 6430edf96..7b4226028 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/levels/RegularLevel.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/levels/RegularLevel.java @@ -172,7 +172,7 @@ public abstract class RegularLevel extends Level { protected void placeSign(){ while (true) { int pos = roomEntrance.random(); - if (pos != entrance || traps.get(pos) == null) { + if (pos != entrance && traps.get(pos) == null) { map[pos] = Terrain.SIGN; break; }