1
0

- Fixed a critical bug, which caused players to not getting spawned on the others client

- corrected newline in cMonsterConfig (VS did :D)

git-svn-id: http://mc-server.googlecode.com/svn/trunk@110 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
lapayo94@gmail.com 2011-12-25 19:34:31 +00:00
parent 62abd8f29b
commit cf720c17e6
2 changed files with 89 additions and 84 deletions

View File

@ -51,6 +51,10 @@ void cEntity::Initialize( cWorld* a_World )
m_World = a_World;
m_World->AddEntity( this );
MoveToCorrectChunk();
/*
Not needed because it´s covered by the MoveToCorrectChunk function
cWorld::BlockToChunk( (int)m_Pos->x, (int)m_Pos->y, (int)m_Pos->z, m_ChunkX, m_ChunkY, m_ChunkZ );
cChunk* Chunk = m_World->GetChunk( m_ChunkX, m_ChunkY, m_ChunkZ );
if( Chunk )
@ -58,6 +62,7 @@ void cEntity::Initialize( cWorld* a_World )
//LOG("Adding entity %i to chunk %i %i %i", m_UniqueID, Chunk->GetPosX(), Chunk->GetPosY(), Chunk->GetPosZ() );
Chunk->AddEntity( *this );
}
*/
}
void cEntity::WrapRotation()