diff options
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r-- | src/ClientHandle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index 49a882c77..ce6d4c981 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -189,7 +189,7 @@ void cClientHandle::Destroy(void) // If ownership was transferred, our own smart pointer should be unset ASSERT(!m_PlayerPtr); - m_PlayerPtr = world->RemovePlayer(*player, true); + m_PlayerPtr = world->RemovePlayer(*player); // And RemovePlayer should have returned a valid smart pointer ASSERT(m_PlayerPtr); |