From 65a2cd05a113352b12c3083d721678f26daa9827 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 12 Oct 2017 16:42:21 -0400 Subject: [PATCH] v0.6.2: fixed a terrain bug when plants were made on tall grass --- .../shatteredpixel/shatteredpixeldungeon/levels/Level.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java index 0763bcb1c..5b26131e8 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java @@ -710,8 +710,8 @@ public abstract class Level implements Bundlable { map[pos] == Terrain.EMPTY || map[pos] == Terrain.EMBERS || map[pos] == Terrain.EMPTY_DECO) { - map[pos] = Terrain.GRASS; - flamable[pos] = true; + set(pos, Terrain.GRASS, this); + GameScene.updateMap(pos); } plant = seed.couch( pos, this );