1
0

"& 0x0f" isn't needed

This commit is contained in:
Howaner
2014-12-14 13:14:48 +01:00
parent 2a8c234f46
commit bed456033f
2 changed files with 3 additions and 3 deletions

View File

@@ -1524,7 +1524,7 @@ bool cWorld::GrowRipePlant(int a_BlockX, int a_BlockY, int a_BlockZ, bool a_IsBy
case E_BLOCK_COCOA_POD:
{
NIBBLETYPE TypeMeta = BlockMeta & 0x03;
int GrowState = (BlockMeta & 0x0f) >> 2;
int GrowState = BlockMeta >> 2;
if (GrowState < 2)
{