From 5c1439e11c16208329c36115a07f30857074cca9 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 28 May 2013 18:45:51 +0000 Subject: More dropspenser redstone interaction fixes. Now the dropspensers are correctly powered off, unless they had been powered by a redstone torch directly next to them. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1525 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Simulator/RedstoneSimulator.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/Simulator/RedstoneSimulator.cpp b/source/Simulator/RedstoneSimulator.cpp index 3560ed0c8..7bf91cace 100644 --- a/source/Simulator/RedstoneSimulator.cpp +++ b/source/Simulator/RedstoneSimulator.cpp @@ -549,6 +549,13 @@ int cRedstoneSimulator::UnPowerBlock(const Vector3i & a_BlockPos, const Vector3i break; } + case E_BLOCK_DISPENSER: + case E_BLOCK_DROPPER: + { + m_RefreshDropSpensers.push_back(a_BlockPos); + break; + } + case E_BLOCK_REDSTONE_TORCH_ON: { return 2; -- cgit v1.2.3