diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-01-19 19:12:39 +0100 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-01-19 19:12:39 +0100 |
commit | 50a7722242197f9a3b4300e154c1e66d1177839a (patch) | |
tree | ebf80972e3fe85806c1df037579e9a20992b5766 /source/cEntity.cpp | |
parent | Fixed crashing bug in cClientHandle::~cClientHandle (diff) | |
download | cuberite-50a7722242197f9a3b4300e154c1e66d1177839a.tar cuberite-50a7722242197f9a3b4300e154c1e66d1177839a.tar.gz cuberite-50a7722242197f9a3b4300e154c1e66d1177839a.tar.bz2 cuberite-50a7722242197f9a3b4300e154c1e66d1177839a.tar.lz cuberite-50a7722242197f9a3b4300e154c1e66d1177839a.tar.xz cuberite-50a7722242197f9a3b4300e154c1e66d1177839a.tar.zst cuberite-50a7722242197f9a3b4300e154c1e66d1177839a.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cEntity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cEntity.cpp b/source/cEntity.cpp index ce7117498..8a841ea87 100644 --- a/source/cEntity.cpp +++ b/source/cEntity.cpp @@ -148,7 +148,7 @@ void cEntity::RemoveFromChunk( cChunk* a_Chunk ) {
if( m_World )
{
- cChunk* Chunk = ( a_Chunk ? a_Chunk : m_World->GetChunkUnreliable( m_ChunkX, m_ChunkY, m_ChunkZ ) );
+ cChunk* Chunk = ( a_Chunk ? a_Chunk : (cChunk*)m_World->GetChunkUnreliable( m_ChunkX, m_ChunkY, m_ChunkZ ) );
if( Chunk )
{
cPacket_DestroyEntity DestroyEntity( this );
|