Filter blocks to add to redstone sim's wake queue (#4621)

This commit is contained in:
peterbell10
2020-04-05 19:20:52 +00:00
committed by GitHub
parent 16b3de94c8
commit 19ad96561c
3 changed files with 63 additions and 6 deletions
@@ -31,10 +31,7 @@ public:
return IsRedstone(a_BlockType);
}
virtual void AddBlock(Vector3i a_Block, cChunk * a_Chunk) override
{
m_Data.WakeUp(a_Block);
}
virtual void AddBlock(Vector3i a_Block, cChunk * a_Chunk) override;
/** Returns if a block is a mechanism (something that accepts power and does something)
Used by torches to determine if they will power a block