diff options
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockPiston.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Blocks/BlockPiston.h b/src/Blocks/BlockPiston.h index 21ebbcd39..e604cd38e 100644 --- a/src/Blocks/BlockPiston.h +++ b/src/Blocks/BlockPiston.h @@ -100,6 +100,12 @@ private: typedef std::unordered_set<Vector3i, VectorHasher<int>> Vector3iSet; + /** Piston extension block action */ + static const Byte PistonExtendAction = 0U; + + /** Piston retraction block action */ + static const Byte PistonRetractAction = 1U; + /** Returns true if the piston (specified by blocktype) is a sticky piston */ static inline bool IsSticky(BLOCKTYPE a_BlockType) { return (a_BlockType == E_BLOCK_STICKY_PISTON); } |