summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-09-06 18:59:17 +0200
committerMattes D <github@xoft.cz>2014-09-06 18:59:17 +0200
commit0a651b9fd83f078a73429f02603144e80a05148d (patch)
treecb9b30cc975b884dd2da97271da6570c4eb70537 /src/BlockEntities
parentAlpha-sorted protocol 1.7 senders. (diff)
downloadcuberite-0a651b9fd83f078a73429f02603144e80a05148d.tar
cuberite-0a651b9fd83f078a73429f02603144e80a05148d.tar.gz
cuberite-0a651b9fd83f078a73429f02603144e80a05148d.tar.bz2
cuberite-0a651b9fd83f078a73429f02603144e80a05148d.tar.lz
cuberite-0a651b9fd83f078a73429f02603144e80a05148d.tar.xz
cuberite-0a651b9fd83f078a73429f02603144e80a05148d.tar.zst
cuberite-0a651b9fd83f078a73429f02603144e80a05148d.zip
Diffstat (limited to '')
-rw-r--r--src/BlockEntities/SignEntity.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/BlockEntities/SignEntity.cpp b/src/BlockEntities/SignEntity.cpp
index 97fed0f04..23d9ef926 100644
--- a/src/BlockEntities/SignEntity.cpp
+++ b/src/BlockEntities/SignEntity.cpp
@@ -15,6 +15,7 @@
cSignEntity::cSignEntity(BLOCKTYPE a_BlockType, int a_X, int a_Y, int a_Z, cWorld * a_World) :
super(a_BlockType, a_X, a_Y, a_Z, a_World)
{
+ ASSERT((a_Y >= 0) && (a_Y < cChunkDef::Height));
}