Rain now waters farmland.

master
Samuel Barney 2013-10-03 21:35:17 -06:00
parent 523c6b4b94
commit 0e1e76fa77
1 changed files with 8 additions and 0 deletions

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);