summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockRail.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Blocks/BlockRail.h')
-rw-r--r--src/Blocks/BlockRail.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/Blocks/BlockRail.h b/src/Blocks/BlockRail.h
index 734ee93c7..dda9af60d 100644
--- a/src/Blocks/BlockRail.h
+++ b/src/Blocks/BlockRail.h
@@ -22,13 +22,13 @@ class cBlockRailHandler :
public cBlockHandler
{
typedef cBlockHandler super;
-
+
public:
cBlockRailHandler(BLOCKTYPE a_BlockType)
: cBlockHandler(a_BlockType)
{
}
-
+
virtual bool GetPlacementBlockTypeMeta(
cChunkInterface & a_ChunkInterface, cPlayer * a_Player,
int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace,
@@ -85,7 +85,7 @@ public:
{
super::ConvertToPickups(a_Pickups, 0);
}
-
+
virtual bool CanBeAt(cChunkInterface & a_ChunkInterface, int a_RelX, int a_RelY, int a_RelZ, const cChunk & a_Chunk) override
{
if (a_RelY <= 0)
@@ -279,7 +279,7 @@ public:
}
break;
}
-
+
case E_META_RAIL_XM_XP:
{
if (
@@ -291,7 +291,7 @@ public:
}
break;
}
-
+
case E_META_RAIL_ASCEND_XP:
{
if (
@@ -303,7 +303,7 @@ public:
}
break;
}
-
+
case E_META_RAIL_ASCEND_XM:
{
if (
@@ -315,7 +315,7 @@ public:
}
break;
}
-
+
case E_META_RAIL_ASCEND_ZM:
{
if (
@@ -327,7 +327,7 @@ public:
}
break;
}
-
+
case E_META_RAIL_ASCEND_ZP:
{
if (
@@ -339,7 +339,7 @@ public:
}
break;
}
-
+
case E_META_RAIL_CURVED_ZP_XP:
{
if (
@@ -351,7 +351,7 @@ public:
}
break;
}
-
+
case E_META_RAIL_CURVED_ZP_XM:
{
if (
@@ -363,7 +363,7 @@ public:
}
break;
}
-
+
case E_META_RAIL_CURVED_ZM_XM:
{
if (
@@ -375,7 +375,7 @@ public:
}
break;
}
-
+
case E_META_RAIL_CURVED_ZM_XP:
{
if (
@@ -417,7 +417,7 @@ public:
{
Meta = a_ChunkInterface.GetBlockMeta(a_BlockX, a_BlockY, a_BlockZ);
}
-
+
switch (a_BlockFace)
{
case BLOCK_FACE_NORTH:
@@ -434,7 +434,7 @@ public:
}
break;
}
-
+
case BLOCK_FACE_SOUTH:
{
if (
@@ -449,7 +449,7 @@ public:
}
break;
}
-
+
case BLOCK_FACE_EAST:
{
if (