summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockStems.h
diff options
context:
space:
mode:
authorTycho Bickerstaff <work.tycho@gmail.com>2013-12-20 16:33:04 +0100
committerTycho Bickerstaff <work.tycho@gmail.com>2013-12-20 16:33:04 +0100
commit32e6be002d70f8fec486f0127fc307a21f1ff43e (patch)
tree5601738de3331ff3bfa70bd286784bdd4ba60055 /src/Blocks/BlockStems.h
parentmade LUA shared unless STATIC_LUA is set (diff)
parentFixed warnings in HTTP parser. (diff)
downloadcuberite-32e6be002d70f8fec486f0127fc307a21f1ff43e.tar
cuberite-32e6be002d70f8fec486f0127fc307a21f1ff43e.tar.gz
cuberite-32e6be002d70f8fec486f0127fc307a21f1ff43e.tar.bz2
cuberite-32e6be002d70f8fec486f0127fc307a21f1ff43e.tar.lz
cuberite-32e6be002d70f8fec486f0127fc307a21f1ff43e.tar.xz
cuberite-32e6be002d70f8fec486f0127fc307a21f1ff43e.tar.zst
cuberite-32e6be002d70f8fec486f0127fc307a21f1ff43e.zip
Diffstat (limited to 'src/Blocks/BlockStems.h')
-rw-r--r--src/Blocks/BlockStems.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockStems.h b/src/Blocks/BlockStems.h
index c2dff62cf..d860639a5 100644
--- a/src/Blocks/BlockStems.h
+++ b/src/Blocks/BlockStems.h
@@ -32,7 +32,7 @@ public:
// Grow the produce:
int BlockX = a_RelX + a_Chunk.GetPosX() * cChunkDef::Width;
int BlockZ = a_RelZ + a_Chunk.GetPosZ() * cChunkDef::Width;
- a_Chunk.GetWorld()->GrowMelonPumpkin(BlockX, a_RelY, a_RelZ, m_BlockType);
+ a_Chunk.GetWorld()->GrowMelonPumpkin(BlockX, a_RelY, BlockZ, m_BlockType);
}
else
{