diff options
author | Mattes D <github@xoft.cz> | 2014-02-04 22:10:44 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-02-04 22:10:44 +0100 |
commit | dad49c6fddaa361cd4f98b095cfeb0e2d2e1a435 (patch) | |
tree | 01bca60c90c1d5a6a5d00429a95bb99b3dfa9ac1 /src/Blocks/BlockSideways.h | |
parent | Fixed chest placement. (diff) | |
parent | Fix gcc not having operator ++ on enums (diff) | |
download | cuberite-dad49c6fddaa361cd4f98b095cfeb0e2d2e1a435.tar cuberite-dad49c6fddaa361cd4f98b095cfeb0e2d2e1a435.tar.gz cuberite-dad49c6fddaa361cd4f98b095cfeb0e2d2e1a435.tar.bz2 cuberite-dad49c6fddaa361cd4f98b095cfeb0e2d2e1a435.tar.lz cuberite-dad49c6fddaa361cd4f98b095cfeb0e2d2e1a435.tar.xz cuberite-dad49c6fddaa361cd4f98b095cfeb0e2d2e1a435.tar.zst cuberite-dad49c6fddaa361cd4f98b095cfeb0e2d2e1a435.zip |
Diffstat (limited to 'src/Blocks/BlockSideways.h')
-rw-r--r-- | src/Blocks/BlockSideways.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Blocks/BlockSideways.h b/src/Blocks/BlockSideways.h index f11f0bee1..69c0a7230 100644 --- a/src/Blocks/BlockSideways.h +++ b/src/Blocks/BlockSideways.h @@ -18,7 +18,7 @@ public: virtual bool GetPlacementBlockTypeMeta( cChunkInterface & a_ChunkInterface, cPlayer * a_Player, - int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, + int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_BlockMeta ) override @@ -30,7 +30,7 @@ public: } - inline static NIBBLETYPE BlockFaceToMetaData(char a_BlockFace, NIBBLETYPE a_WoodMeta) + inline static NIBBLETYPE BlockFaceToMetaData(eBlockFace a_BlockFace, NIBBLETYPE a_WoodMeta) { switch (a_BlockFace) { |