summaryrefslogtreecommitdiffstats
path: root/src/Chunk.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-10-18 20:54:34 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-10-18 20:54:34 +0200
commit6a22b63473d465027b8d328d2ab621c596d1ee84 (patch)
treecae8b6e124f87f96db54ab6e284e51299d1c3019 /src/Chunk.cpp
parentSimpler code. (diff)
downloadcuberite-6a22b63473d465027b8d328d2ab621c596d1ee84.tar
cuberite-6a22b63473d465027b8d328d2ab621c596d1ee84.tar.gz
cuberite-6a22b63473d465027b8d328d2ab621c596d1ee84.tar.bz2
cuberite-6a22b63473d465027b8d328d2ab621c596d1ee84.tar.lz
cuberite-6a22b63473d465027b8d328d2ab621c596d1ee84.tar.xz
cuberite-6a22b63473d465027b8d328d2ab621c596d1ee84.tar.zst
cuberite-6a22b63473d465027b8d328d2ab621c596d1ee84.zip
Diffstat (limited to 'src/Chunk.cpp')
-rw-r--r--src/Chunk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp
index 88ee9ba31..98c8bc66a 100644
--- a/src/Chunk.cpp
+++ b/src/Chunk.cpp
@@ -333,7 +333,7 @@ void cChunk::SetAllData(cSetChunkData & a_SetChunkData)
{
BLOCKTYPE EntityBlockType = (*itr)->GetBlockType();
BLOCKTYPE WorldBlockType = GetBlock((*itr)->GetRelX(), (*itr)->GetPosY(), (*itr)->GetRelZ());
- ASSERT((EntityBlockType == E_BLOCK_FURNACE) ? ((EntityBlockType == E_BLOCK_FURNACE) || (EntityBlockType == E_BLOCK_LIT_FURNACE)) : (WorldBlockType == EntityBlockType));
+ ASSERT(WorldBlockType == EntityBlockType);
} // for itr - m_BlockEntities
#endif // _DEBUG