v0.3.1: added proper inactive trap generation to standard painter
This commit is contained in:
parent
f94d2db5dc
commit
9b906353ad
|
@ -113,6 +113,9 @@ public class StandardPainter extends Painter {
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
t = Terrain.INACTIVE_TRAP;
|
t = Terrain.INACTIVE_TRAP;
|
||||||
|
FireTrap trap = new FireTrap();
|
||||||
|
trap.reveal().active = false;
|
||||||
|
level.setTrap(trap, cell);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
level.map[cell] = t;
|
level.map[cell] = t;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user