Removed unneeded spacings
This commit is contained in:
parent
4f8f686292
commit
45eb539a17
@ -686,10 +686,7 @@ void cIncrementalRedstoneSimulator::HandleRedstoneRepeater(int a_BlockX, int a_B
|
|||||||
// Create a variable holding my meta to avoid multiple lookups.
|
// Create a variable holding my meta to avoid multiple lookups.
|
||||||
NIBBLETYPE a_Meta = m_World.GetBlockMeta(a_BlockX, a_BlockY, a_BlockZ);
|
NIBBLETYPE a_Meta = m_World.GetBlockMeta(a_BlockX, a_BlockY, a_BlockZ);
|
||||||
|
|
||||||
|
if (!IsRepeaterLocked(a_BlockX, a_BlockY, a_BlockZ, a_Meta)) // If we're locked, change nothing. Otherwise:
|
||||||
|
|
||||||
|
|
||||||
if (IsRepeaterLocked(a_BlockX, a_BlockY, a_BlockZ, a_Meta)) // If we're locked, change nothing. Otherwise:
|
|
||||||
{
|
{
|
||||||
// Create a variable holding being on or self powered to avoid multiple lookups.
|
// Create a variable holding being on or self powered to avoid multiple lookups.
|
||||||
bool IsOn = (a_MyState == E_BLOCK_REDSTONE_REPEATER_ON);
|
bool IsOn = (a_MyState == E_BLOCK_REDSTONE_REPEATER_ON);
|
||||||
|
Loading…
Reference in New Issue
Block a user