summaryrefslogtreecommitdiffstats
path: root/src/Blocks
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-09 01:57:22 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-09 01:57:22 +0100
commitc68bdaf34beee368100e6697fc3d87a711dba6b7 (patch)
treec7891201022913cff7e955057c1cdf900fedc963 /src/Blocks
parentMerge remote-tracking branch 'origin/master' into playerimprovements (diff)
downloadcuberite-c68bdaf34beee368100e6697fc3d87a711dba6b7.tar
cuberite-c68bdaf34beee368100e6697fc3d87a711dba6b7.tar.gz
cuberite-c68bdaf34beee368100e6697fc3d87a711dba6b7.tar.bz2
cuberite-c68bdaf34beee368100e6697fc3d87a711dba6b7.tar.lz
cuberite-c68bdaf34beee368100e6697fc3d87a711dba6b7.tar.xz
cuberite-c68bdaf34beee368100e6697fc3d87a711dba6b7.tar.zst
cuberite-c68bdaf34beee368100e6697fc3d87a711dba6b7.zip
Diffstat (limited to 'src/Blocks')
-rw-r--r--src/Blocks/BlockButton.h2
-rw-r--r--src/Blocks/BlockLever.h2
-rw-r--r--src/Blocks/BlockTrapdoor.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/Blocks/BlockButton.h b/src/Blocks/BlockButton.h
index f2a2885be..ca6850ced 100644
--- a/src/Blocks/BlockButton.h
+++ b/src/Blocks/BlockButton.h
@@ -88,7 +88,7 @@ public:
default:
{
ASSERT(!"Unhandled block meta!");
- return 0;
+ return BLOCK_FACE_NONE;
}
}
}
diff --git a/src/Blocks/BlockLever.h b/src/Blocks/BlockLever.h
index 8b4126873..48c7e774b 100644
--- a/src/Blocks/BlockLever.h
+++ b/src/Blocks/BlockLever.h
@@ -88,7 +88,7 @@ public:
default:
{
ASSERT(!"Unhandled block meta!");
- return 0;
+ return BLOCK_FACE_NONE;
}
}
}
diff --git a/src/Blocks/BlockTrapdoor.h b/src/Blocks/BlockTrapdoor.h
index 47b51db16..08fc28327 100644
--- a/src/Blocks/BlockTrapdoor.h
+++ b/src/Blocks/BlockTrapdoor.h
@@ -84,7 +84,7 @@ public:
default:
{
ASSERT(!"Unhandled block meta!");
- return 0;
+ return BLOCK_FACE_NONE;
}
}
}