summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.cpp
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2015-09-24 16:04:44 +0200
committerLukas Pioch <lukas@zgow.de>2015-09-25 17:09:19 +0200
commite56aa4032d6fad249fc7729c7ce8975cf617eb9c (patch)
tree3b6665c38ce5881b0d8345ee7bc495a5b97a0457 /src/Entities/Player.cpp
parentMerge pull request #2491 from cuberite/FixLilypadPopout (diff)
downloadcuberite-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 '')
-rw-r--r--src/Entities/Player.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp
index 910ad4c0e..d35b92296 100644
--- a/src/Entities/Player.cpp
+++ b/src/Entities/Player.cpp
@@ -150,7 +150,7 @@ cPlayer::~cPlayer(void)
LOGINFO("Player %s has left the game", GetName().c_str());
}
- LOGD("Deleting cPlayer \"%s\" at %p, ID %d", GetName().c_str(), this, GetUniqueID());
+ LOGD("Deleting cPlayer \"%s\" at %p, ID %d", GetName().c_str(), static_cast<void *>(this), GetUniqueID());
// Notify the server that the player is being destroyed
cRoot::Get()->GetServer()->PlayerDestroying(this);
@@ -162,7 +162,7 @@ cPlayer::~cPlayer(void)
delete m_InventoryWindow;
m_InventoryWindow = nullptr;
- LOGD("Player %p deleted", this);
+ LOGD("Player %p deleted", static_cast<void *>(this));
}