1
0

Rain now waters farmland.

This commit is contained in:
Samuel Barney 2013-10-03 21:35:17 -06:00
parent 523c6b4b94
commit 0e1e76fa77

View File

@ -42,6 +42,9 @@ public:
return;
}
bool Found = false;
if (a_World->GetWeather() != eWeather_Rain || a_World->GetBiomeAt(a_BlockX, a_BlockZ) == 1)
{
int NumBlocks = Area.GetBlockCount();
BLOCKTYPE * BlockTypes = Area.GetBlockTypes();
for (int i = 0; i < NumBlocks; i++)
@ -55,6 +58,11 @@ public:
break;
}
}
}
else
{
Found = true;
}
NIBBLETYPE BlockMeta = a_World->GetBlockMeta(a_BlockX, a_BlockY, a_BlockZ);