summaryrefslogtreecommitdiffstats
path: root/src/Blocks
diff options
context:
space:
mode:
authorTycho Bickerstaff <work.tycho@gmail.com>2013-12-19 18:14:52 +0100
committerTycho Bickerstaff <work.tycho@gmail.com>2013-12-19 18:14:52 +0100
commitfbb47cd2ae71ac565add30c4e8bd6f5c440beb00 (patch)
tree036346fa906eb1843a09416b109a8fb82a8d6d2c /src/Blocks
parentMerge branch 'master' into cmake (diff)
parentFixed clang warnings in Noise.cpp. (diff)
downloadcuberite-fbb47cd2ae71ac565add30c4e8bd6f5c440beb00.tar
cuberite-fbb47cd2ae71ac565add30c4e8bd6f5c440beb00.tar.gz
cuberite-fbb47cd2ae71ac565add30c4e8bd6f5c440beb00.tar.bz2
cuberite-fbb47cd2ae71ac565add30c4e8bd6f5c440beb00.tar.lz
cuberite-fbb47cd2ae71ac565add30c4e8bd6f5c440beb00.tar.xz
cuberite-fbb47cd2ae71ac565add30c4e8bd6f5c440beb00.tar.zst
cuberite-fbb47cd2ae71ac565add30c4e8bd6f5c440beb00.zip
Diffstat (limited to 'src/Blocks')
-rw-r--r--src/Blocks/BlockDirt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockDirt.h b/src/Blocks/BlockDirt.h
index a83dab1fd..46210e406 100644
--- a/src/Blocks/BlockDirt.h
+++ b/src/Blocks/BlockDirt.h
@@ -80,7 +80,7 @@ public:
Chunk->GetBlockTypeMeta(BlockX, BlockY + 1, BlockZ, AboveDest, AboveMeta);
if ((g_BlockOneHitDig[AboveDest] || g_BlockTransparent[AboveDest]) && !IsBlockWater(AboveDest))
{
- Chunk->FastSetBlock(a_RelX + OfsX, a_RelY + OfsY, a_RelZ + OfsZ, E_BLOCK_GRASS, 0);
+ Chunk->FastSetBlock(BlockX, BlockY, BlockZ, E_BLOCK_GRASS, 0);
}
} // for i - repeat twice
}