v0.6.2: fixed a terrain bug when plants were made on tall grass

This commit is contained in:
Evan Debenham 2017-10-12 16:42:21 -04:00
parent ed346c385b
commit 65a2cd05a1

View File

@ -710,8 +710,8 @@ public abstract class Level implements Bundlable {
map[pos] == Terrain.EMPTY || map[pos] == Terrain.EMPTY ||
map[pos] == Terrain.EMBERS || map[pos] == Terrain.EMBERS ||
map[pos] == Terrain.EMPTY_DECO) { map[pos] == Terrain.EMPTY_DECO) {
map[pos] = Terrain.GRASS; set(pos, Terrain.GRASS, this);
flamable[pos] = true; GameScene.updateMap(pos);
} }
plant = seed.couch( pos, this ); plant = seed.couch( pos, this );