diff options
author | bibo38 <bibo38@github.com> | 2015-11-05 18:49:15 +0100 |
---|---|---|
committer | bibo38 <bibo38@github.com> | 2015-11-07 17:23:02 +0100 |
commit | 558991a7256afb2d110579346006cafec73bc275 (patch) | |
tree | 727fab80840bd76d8bf0e1e70bac335719736387 /src/Blocks/BlockPiston.h | |
parent | Replaced the usage of pistonMeta with a direction vector to allow better meta value abstraction (diff) | |
download | cuberite-558991a7256afb2d110579346006cafec73bc275.tar cuberite-558991a7256afb2d110579346006cafec73bc275.tar.gz cuberite-558991a7256afb2d110579346006cafec73bc275.tar.bz2 cuberite-558991a7256afb2d110579346006cafec73bc275.tar.lz cuberite-558991a7256afb2d110579346006cafec73bc275.tar.xz cuberite-558991a7256afb2d110579346006cafec73bc275.tar.zst cuberite-558991a7256afb2d110579346006cafec73bc275.zip |
Diffstat (limited to 'src/Blocks/BlockPiston.h')
-rw-r--r-- | src/Blocks/BlockPiston.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Blocks/BlockPiston.h b/src/Blocks/BlockPiston.h index b08ca5fee..f05e73f38 100644 --- a/src/Blocks/BlockPiston.h +++ b/src/Blocks/BlockPiston.h @@ -161,6 +161,10 @@ private: int a_BlockX, int a_BlockY, int a_BlockZ, cWorld * a_World, bool a_RequirePushable, std::unordered_set<Vector3i, VectorHasher<int>> & a_BlocksPushed, const Vector3i & a_PushDir ); + + static void PushBlocks(const std::unordered_set<Vector3i, VectorHasher<int>> & a_BlocksToPush, + cWorld * a_World, const Vector3i & a_PushDir + ); } ; |