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

@@ -623,6 +623,8 @@ void cWSSAnvil::LoadBlockEntitiesFromNBT(cBlockEntityList & a_BlockEntities, con
cBlockEntity * cWSSAnvil::LoadBlockEntityFromNBT(const cParsedNBT & a_NBT, int a_Tag, int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta)
{
ASSERT((a_BlockY >= 0) && (a_BlockY < cChunkDef::Height));
// Load the specific BlockEntity type:
switch (a_BlockType)
{