v0.9.0a: fixed burning webs destroying special ground instead of deco ground
This commit is contained in:
parent
6127cacf5e
commit
d1aa0495de
|
@ -684,7 +684,7 @@ public abstract class Level implements Bundlable {
|
||||||
public void destroy( int pos ) {
|
public void destroy( int pos ) {
|
||||||
//if raw tile type is flammable or empty
|
//if raw tile type is flammable or empty
|
||||||
int terr = map[pos];
|
int terr = map[pos];
|
||||||
if (terr == Terrain.EMPTY || terr == Terrain.EMPTY_SP
|
if (terr == Terrain.EMPTY || terr == Terrain.EMPTY_DECO
|
||||||
|| (Terrain.flags[map[pos]] & Terrain.FLAMABLE) != 0) {
|
|| (Terrain.flags[map[pos]] & Terrain.FLAMABLE) != 0) {
|
||||||
set(pos, Terrain.EMBERS);
|
set(pos, Terrain.EMBERS);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user