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:
parent
2ccc87286c
commit
85cf908260
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user