diff options
Diffstat (limited to 'source/Torch.h')
-rw-r--r-- | source/Torch.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/source/Torch.h b/source/Torch.h index fa301c3d4..2a84db072 100644 --- a/source/Torch.h +++ b/source/Torch.h @@ -7,15 +7,15 @@ -class cTorch //tolua_export -{ //tolua_export +class cTorch // tolua_export +{ // tolua_export public: - static char DirectionToMetaData( char a_Direction ) //tolua_export - { //tolua_export + static char DirectionToMetaData( char a_Direction ) // tolua_export + { // tolua_export switch (a_Direction) { - case BLOCK_FACE_BOTTOM: ASSERT(!"Shouldn't be getting this direction"); return 0; + case BLOCK_FACE_BOTTOM: ASSERT(!"Shouldn't be getting this face"); return 0; case BLOCK_FACE_TOP: return E_META_TORCH_FLOOR; case BLOCK_FACE_EAST: return E_META_TORCH_EAST; case BLOCK_FACE_WEST: return E_META_TORCH_WEST; @@ -28,11 +28,11 @@ public: } }; return 0x0; - } //tolua_export + } // tolua_export - static char MetaDataToDirection(char a_MetaData) //tolua_export - { //tolua_export + static char MetaDataToDirection(char a_MetaData) // tolua_export + { // tolua_export switch (a_MetaData) { case 0: return BLOCK_FACE_TOP; // by default, the torches stand on the ground @@ -48,7 +48,7 @@ public: } } return 0; - } //tolua_export + } // tolua_export static bool IsAttachedTo(const Vector3i & a_TorchPos, char a_TorchMeta, const Vector3i & a_BlockPos) @@ -70,7 +70,7 @@ public: return false; } -} ; //tolua_export +} ; // tolua_export |