From 301aff86c7d5257c92288004cb0cff87e593b2a8 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 7 Dec 2014 19:52:27 -0500 Subject: [PATCH] v0.2.3: fixed a bug involving planting plants during levelgen. --- src/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java b/src/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java index 094ff617d..909f844f9 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java @@ -636,7 +636,7 @@ public abstract class Level implements Bundlable { map[pos] == Terrain.EMPTY || map[pos] == Terrain.EMBERS || map[pos] == Terrain.EMPTY_DECO) { - set(pos, Terrain.GRASS); + map[pos] = Terrain.GRASS; GameScene.updateMap( pos ); }