summaryrefslogtreecommitdiffstats
path: root/src/Generating/Prefab.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-04-27 22:07:21 +0200
committerTycho <work.tycho+git@gmail.com>2014-04-27 22:07:21 +0200
commit25d933883a24c97b67f90ae6839ce3d6b8d630d5 (patch)
tree792ebe24e67a44255ce4330091a8d64756d35198 /src/Generating/Prefab.cpp
parentUpdate CoverityModel.cpp (diff)
downloadcuberite-25d933883a24c97b67f90ae6839ce3d6b8d630d5.tar
cuberite-25d933883a24c97b67f90ae6839ce3d6b8d630d5.tar.gz
cuberite-25d933883a24c97b67f90ae6839ce3d6b8d630d5.tar.bz2
cuberite-25d933883a24c97b67f90ae6839ce3d6b8d630d5.tar.lz
cuberite-25d933883a24c97b67f90ae6839ce3d6b8d630d5.tar.xz
cuberite-25d933883a24c97b67f90ae6839ce3d6b8d630d5.tar.zst
cuberite-25d933883a24c97b67f90ae6839ce3d6b8d630d5.zip
Diffstat (limited to 'src/Generating/Prefab.cpp')
-rw-r--r--src/Generating/Prefab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/Prefab.cpp b/src/Generating/Prefab.cpp
index c0c9e8a13..44d5097de 100644
--- a/src/Generating/Prefab.cpp
+++ b/src/Generating/Prefab.cpp
@@ -283,7 +283,7 @@ void cPrefab::ParseCharMap(CharMap & a_CharMapOut, const char * a_CharMapDef)
if ((NumElements >= 3) && !CharDef[2].empty())
{
BlockMeta = (NIBBLETYPE)atoi(CharDef[2].c_str());
- ASSERT((BlockMeta >= 0) && (BlockMeta <= 15));
+ ASSERT((BlockMeta <= 15));
}
a_CharMapOut[Src].m_BlockMeta = BlockMeta;
} // for itr - Lines[]