Fixed a valgrind error in lighting thread (uninitialized var value)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1039 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
f32091f98c
commit
1b75e74a9e
@ -402,6 +402,7 @@ void cLightingThread::PrepareBlockLight(void)
|
|||||||
{
|
{
|
||||||
// Clear seeds:
|
// Clear seeds:
|
||||||
memset(m_IsSeed1, 0, sizeof(m_IsSeed1));
|
memset(m_IsSeed1, 0, sizeof(m_IsSeed1));
|
||||||
|
memset(m_IsSeed2, 0, sizeof(m_IsSeed2));
|
||||||
m_NumSeeds = 0;
|
m_NumSeeds = 0;
|
||||||
|
|
||||||
// Walk every column that has all XZ neighbors, make a seed for each light-emitting block:
|
// Walk every column that has all XZ neighbors, make a seed for each light-emitting block:
|
||||||
|
Loading…
Reference in New Issue
Block a user