From fd81d67616fb4ea5d58a961a0d87897395d7073d Mon Sep 17 00:00:00 2001
From: Evan Debenham <Evan@ShatteredPixel.com>
Date: Wed, 5 Nov 2014 14:37:44 -0500
Subject: [PATCH] v0.2.2a: fixed a bug with plants and grass stacking on level
 gen (they are no longer able to)

---
 .../shatteredpixeldungeon/levels/Level.java               | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java b/src/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java
index 091f8e313..0ba572cc1 100644
--- a/src/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java
+++ b/src/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java
@@ -611,6 +611,14 @@ public abstract class Level implements Bundlable {
 		if (plant != null) {
 			plant.wither();
 		}
+
+        if (map[pos] == Terrain.HIGH_GRASS ||
+                map[pos] == Terrain.EMPTY ||
+                map[pos] == Terrain.EMBERS ||
+                map[pos] == Terrain.EMPTY_DECO) {
+            set(pos, Terrain.GRASS);
+            GameScene.updateMap( pos );
+        }
 		
 		plant = seed.couch( pos );
 		plants.put( pos, plant );