1
0

Improved the speed a little more.

This commit is contained in:
Alexander Harkness 2014-04-07 17:28:16 +01:00
parent 634c4d6770
commit 5374730753

View File

@ -1224,7 +1224,7 @@ bool cIncrementalRedstoneSimulator::IsRepeaterPowered(int a_BlockX, int a_BlockY
bool cIncrementalRedstoneSimulator::IsRepeaterLocked(int a_BlockX, int a_BlockY, int a_BlockZ, NIBBLETYPE a_Meta)
{
// Change checking direction according to meta rotation.
switch (m_World.GetBlockMeta(a_BlockX, a_BlockY, a_BlockZ) & 0x3) //compare my direction to my neighbor's
switch (a_Meta & 0x3) //compare my direction to my neighbor's
{
// If N/S check E/W <<<<<