summaryrefslogtreecommitdiffstats
path: root/src/Blocks
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-05 00:07:22 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-05 00:07:22 +0100
commit630507fd5b8a7ac280ee75994f98b9ecfdcb7a70 (patch)
tree731e8b7896887072bea12f35b3a164761e01abdd /src/Blocks
parentAdded more SendMessageXXX() functions (diff)
downloadcuberite-630507fd5b8a7ac280ee75994f98b9ecfdcb7a70.tar
cuberite-630507fd5b8a7ac280ee75994f98b9ecfdcb7a70.tar.gz
cuberite-630507fd5b8a7ac280ee75994f98b9ecfdcb7a70.tar.bz2
cuberite-630507fd5b8a7ac280ee75994f98b9ecfdcb7a70.tar.lz
cuberite-630507fd5b8a7ac280ee75994f98b9ecfdcb7a70.tar.xz
cuberite-630507fd5b8a7ac280ee75994f98b9ecfdcb7a70.tar.zst
cuberite-630507fd5b8a7ac280ee75994f98b9ecfdcb7a70.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.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/Blocks/BlockButton.h b/src/Blocks/BlockButton.h
index f592b94a1..5567c1942 100644
--- a/src/Blocks/BlockButton.h
+++ b/src/Blocks/BlockButton.h
@@ -88,7 +88,7 @@ public:
default:
{
ASSERT(!"Unhandled block meta!");
- return BLOCK_FACE_NONE;
+ return 0;
}
}
}
diff --git a/src/Blocks/BlockLever.h b/src/Blocks/BlockLever.h
index 09b600759..cb65cd03c 100644
--- a/src/Blocks/BlockLever.h
+++ b/src/Blocks/BlockLever.h
@@ -88,7 +88,7 @@ public:
default:
{
ASSERT(!"Unhandled block meta!");
- return BLOCK_FACE_NONE;
+ return 0;
}
}
}
diff --git a/src/Blocks/BlockTrapdoor.h b/src/Blocks/BlockTrapdoor.h
index f549b4183..ee595d9c4 100644
--- a/src/Blocks/BlockTrapdoor.h
+++ b/src/Blocks/BlockTrapdoor.h
@@ -68,7 +68,7 @@ public:
default:
{
ASSERT(!"Unhandled block face!");
- return 0x0;
+ return 0;
}
}
}
@@ -84,7 +84,7 @@ public:
default:
{
ASSERT(!"Unhandled block meta!");
- return BLOCK_FACE_NONE;
+ return 0;
}
}
}