Add WakeUp/AddBlock distinction
* WakeUp is for singular changes (block breaking for example). The simulator should check blocks around the position and discover other affected blocks as it sees fit * AddBlock is for when you know a whole area is to be updated; chunk loading, or area wakeups for example + Prepares for correct handling of destroyed blocks after removal of SolidBlockHandler in the redstone simulator
This commit is contained in:
@@ -1327,7 +1327,7 @@ void cWorld::WakeUpSimulatorsInArea(int a_MinBlockX, int a_MaxBlockX, int a_MinB
|
||||
|
||||
void cWorld::WakeUpSimulatorsInArea(const cCuboid & a_Area)
|
||||
{
|
||||
m_SimulatorManager->WakeUpArea(a_Area);
|
||||
m_SimulatorManager->WakeUp(a_Area);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user