1
0

Fix misguided comment on bits...

...obviously written by someone very confused, also known as me
This commit is contained in:
Tiger Wang 2014-07-22 21:09:37 +01:00
parent 9045246e74
commit bc5db3274f

View File

@ -20,7 +20,7 @@ public:
virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
{ {
// Only the first 5 bits contain the display information, 8th bit for growth indicator (but we use 0x07 for forward compatibility) // Only the first 2 bits contain the display information and the 4th bit is for the growth indicator, but, we use 0x07 for forward compatibility
a_Pickups.push_back(cItem(E_BLOCK_SAPLING, 1, a_BlockMeta & 0x07)); a_Pickups.push_back(cItem(E_BLOCK_SAPLING, 1, a_BlockMeta & 0x07));
} }