diff options
author | madmaxoft <github@xoft.cz> | 2014-04-02 17:57:14 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-04-03 09:38:29 +0200 |
commit | 1b78bef4b355c84ee86688eb4f802e5f8a8ccd78 (patch) | |
tree | d13f27c741d25add1a893434ae1760646438329f | |
parent | Fixed a few MSVC type warnings. (diff) | |
download | cuberite-1b78bef4b355c84ee86688eb4f802e5f8a8ccd78.tar cuberite-1b78bef4b355c84ee86688eb4f802e5f8a8ccd78.tar.gz cuberite-1b78bef4b355c84ee86688eb4f802e5f8a8ccd78.tar.bz2 cuberite-1b78bef4b355c84ee86688eb4f802e5f8a8ccd78.tar.lz cuberite-1b78bef4b355c84ee86688eb4f802e5f8a8ccd78.tar.xz cuberite-1b78bef4b355c84ee86688eb4f802e5f8a8ccd78.tar.zst cuberite-1b78bef4b355c84ee86688eb4f802e5f8a8ccd78.zip |
Diffstat (limited to '')
-rw-r--r-- | src/LightingThread.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/LightingThread.h b/src/LightingThread.h index 3209ad9b2..770ae809f 100644 --- a/src/LightingThread.h +++ b/src/LightingThread.h @@ -164,9 +164,7 @@ protected: int & a_NumSeedsOut, unsigned char * a_IsSeedOut, unsigned int * a_SeedIdxOut ) { - ASSERT(a_SrcIdx >= 0); ASSERT(a_SrcIdx < ARRAYCOUNT(m_SkyLight)); - ASSERT(a_DstIdx >= 0); ASSERT(a_DstIdx < ARRAYCOUNT(m_BlockTypes)); if (a_Light[a_SrcIdx] <= a_Light[a_DstIdx] + cBlockInfo::GetSpreadLightFalloff(m_BlockTypes[a_DstIdx])) |