summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2016-07-31 13:02:21 +0200
committerGitHub <noreply@github.com>2016-07-31 13:02:21 +0200
commit320d1c615168695fe143e89e03709acc9472edf9 (patch)
treec3710c56695fb9d87993a3024488790691b4ef49 /src/World.cpp
parentChange CROSSCOMPILE flag to NO_NATIVE_OPTIMIZATION (#3279) (diff)
downloadcuberite-320d1c615168695fe143e89e03709acc9472edf9.tar
cuberite-320d1c615168695fe143e89e03709acc9472edf9.tar.gz
cuberite-320d1c615168695fe143e89e03709acc9472edf9.tar.bz2
cuberite-320d1c615168695fe143e89e03709acc9472edf9.tar.lz
cuberite-320d1c615168695fe143e89e03709acc9472edf9.tar.xz
cuberite-320d1c615168695fe143e89e03709acc9472edf9.tar.zst
cuberite-320d1c615168695fe143e89e03709acc9472edf9.zip
Diffstat (limited to '')
-rw-r--r--src/World.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp
index 557e110d7..33bef4600 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -2548,7 +2548,7 @@ void cWorld::BroadcastPlayerListRemovePlayer(const cPlayer & a_Player, const cCl
for (cPlayerList::iterator itr = m_Players.begin(); itr != m_Players.end(); ++itr)
{
cClientHandle * ch = (*itr)->GetClientHandle();
- if ((ch == a_Exclude) || (ch == nullptr) || !ch->IsLoggedIn() || ch->IsDestroyed())
+ if ((ch == a_Exclude) || (ch == nullptr) || !ch->IsLoggedIn())
{
continue;
}