diff options
author | Lukas Pioch <lukas@zgow.de> | 2015-09-24 16:04:44 +0200 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2015-09-25 17:09:19 +0200 |
commit | e56aa4032d6fad249fc7729c7ce8975cf617eb9c (patch) | |
tree | 3b6665c38ce5881b0d8345ee7bc495a5b97a0457 /src/ChunkMap.cpp | |
parent | Merge pull request #2491 from cuberite/FixLilypadPopout (diff) | |
download | cuberite-e56aa4032d6fad249fc7729c7ce8975cf617eb9c.tar cuberite-e56aa4032d6fad249fc7729c7ce8975cf617eb9c.tar.gz cuberite-e56aa4032d6fad249fc7729c7ce8975cf617eb9c.tar.bz2 cuberite-e56aa4032d6fad249fc7729c7ce8975cf617eb9c.tar.lz cuberite-e56aa4032d6fad249fc7729c7ce8975cf617eb9c.tar.xz cuberite-e56aa4032d6fad249fc7729c7ce8975cf617eb9c.tar.zst cuberite-e56aa4032d6fad249fc7729c7ce8975cf617eb9c.zip |
Diffstat (limited to 'src/ChunkMap.cpp')
-rw-r--r-- | src/ChunkMap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ChunkMap.cpp b/src/ChunkMap.cpp index a11ceb060..a4771ce52 100644 --- a/src/ChunkMap.cpp +++ b/src/ChunkMap.cpp @@ -1723,7 +1723,7 @@ void cChunkMap::AddEntity(cEntity * a_Entity) ) { LOGWARNING("Entity at %p (%s, ID %d) spawning in a non-existent chunk, the entity is lost.", - a_Entity, a_Entity->GetClass(), a_Entity->GetUniqueID() + static_cast<void *>(a_Entity), a_Entity->GetClass(), a_Entity->GetUniqueID() ); return; } @@ -1744,7 +1744,7 @@ void cChunkMap::AddEntityIfNotPresent(cEntity * a_Entity) ) { LOGWARNING("Entity at %p (%s, ID %d) spawning in a non-existent chunk, the entity is lost.", - a_Entity, a_Entity->GetClass(), a_Entity->GetUniqueID() + static_cast<void *>(a_Entity), a_Entity->GetClass(), a_Entity->GetUniqueID() ); return; } |