Removed unneeded asserts.
This commit is contained in:
parent
25529ba62f
commit
1b78bef4b3
@ -164,9 +164,7 @@ protected:
|
|||||||
int & a_NumSeedsOut, unsigned char * a_IsSeedOut, unsigned int * a_SeedIdxOut
|
int & a_NumSeedsOut, unsigned char * a_IsSeedOut, unsigned int * a_SeedIdxOut
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
ASSERT(a_SrcIdx >= 0);
|
|
||||||
ASSERT(a_SrcIdx < ARRAYCOUNT(m_SkyLight));
|
ASSERT(a_SrcIdx < ARRAYCOUNT(m_SkyLight));
|
||||||
ASSERT(a_DstIdx >= 0);
|
|
||||||
ASSERT(a_DstIdx < ARRAYCOUNT(m_BlockTypes));
|
ASSERT(a_DstIdx < ARRAYCOUNT(m_BlockTypes));
|
||||||
|
|
||||||
if (a_Light[a_SrcIdx] <= a_Light[a_DstIdx] + cBlockInfo::GetSpreadLightFalloff(m_BlockTypes[a_DstIdx]))
|
if (a_Light[a_SrcIdx] <= a_Light[a_DstIdx] + cBlockInfo::GetSpreadLightFalloff(m_BlockTypes[a_DstIdx]))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user