1
0

Added Y-wise asserts to signs.

This should help detect #1313's second case.
This commit is contained in:
Mattes D
2014-09-06 18:59:17 +02:00
parent 868723ce50
commit 0a651b9fd8
3 changed files with 4 additions and 0 deletions

View File

@@ -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));
}