1
0

Fixed bad comparison crash

* Fixes #1095
This commit is contained in:
Tiger Wang 2014-06-15 19:42:14 +01:00
parent 2a6ca71a0b
commit f822a46bdb

View File

@ -806,12 +806,12 @@ void cIncrementalRedstoneSimulator::HandleRedstoneRepeater(int a_RelBlockX, int
{
WereItrsChanged = QueueRepeaterPowerChange(a_RelBlockX, a_RelBlockY, a_RelBlockZ, a_Meta, false);
}
else if (a_Itr != m_RepeatersDelayList->end())
else if (a_Itr == m_RepeatersDelayList->end())
{
return;
}
}
else if (a_Itr != m_RepeatersDelayList->end())
else if (a_Itr == m_RepeatersDelayList->end())
{
return;
}