From cd35bd2c494d82a6a015b00c19c12207de5f7b61 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Wed, 11 Dec 2013 18:42:38 +0000 Subject: Fixed pistons being viable middle block Also an excuse to update submodules --- src/Simulator/RedstoneSimulator.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/Simulator/RedstoneSimulator.h b/src/Simulator/RedstoneSimulator.h index 1d85c0634..7c1fd62e8 100644 --- a/src/Simulator/RedstoneSimulator.h +++ b/src/Simulator/RedstoneSimulator.h @@ -150,6 +150,9 @@ private: switch (Block) { // Add SOLID but not viable middle blocks here + case E_BLOCK_PISTON: + case E_BLOCK_PISTON_EXTENSION: + case E_BLOCK_STICKY_PISTON: case E_BLOCK_REDSTONE_REPEATER_ON: case E_BLOCK_REDSTONE_REPEATER_OFF: { -- cgit v1.2.3