1
0

Fixed melons and pumpkins generating in a wrong place.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@530 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com 2012-05-31 16:46:05 +00:00
parent 2ccc87286c
commit 85cf908260

View File

@ -656,7 +656,7 @@ void cChunk::TickMelonPumpkin(int a_RelX, int a_RelY, int a_RelZ, int a_BlockIdx
// Pick a direction in which to place the produce:
int x = 0, z = 0;
int CheckType = a_TickRandom.randInt(4); // The index to the neighbors array which should be checked for emptiness
int CheckType = a_TickRandom.randInt(3); // The index to the neighbors array which should be checked for emptiness
switch (CheckType)
{
case 0: x = 1; break;