v0.3.1: added proper inactive trap generation to standard painter

This commit is contained in:
Evan Debenham 2015-08-14 17:00:48 -04:00
parent f94d2db5dc
commit 9b906353ad

View File

@ -113,6 +113,9 @@ public class StandardPainter extends Painter {
break;
case 3:
t = Terrain.INACTIVE_TRAP;
FireTrap trap = new FireTrap();
trap.reveal().active = false;
level.setTrap(trap, cell);
break;
}
level.map[cell] = t;