diff --git a/core/src/ru/deadsoftware/cavecraft/game/GameWorld.java b/core/src/ru/deadsoftware/cavecraft/game/GameWorld.java
index 4a14c7123f7935203a6206f9ff5559475a20e862..65c9d0300f354eb94aa182de4b1635cc0eed7634 100644 (file)
}
public void placeToBackground(int x, int y, int value) {
- if (value==0 || (getBackMap(x,y) == 0 && Items.BLOCKS.getValueAt(value).collision)) {
+ if (value==0 || (getBackMap(x,y) == 0 && Items.BLOCKS.getValueAt(value).collision) &&
+ (!Items.BLOCKS.getValueAt(value).transparent || value == 18)) {
setBackMap(x,y,value);
}
}