summaryrefslogtreecommitdiffstats
path: root/source/Player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Player.cpp')
-rw-r--r--source/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Player.cpp b/source/Player.cpp
index cfbf5cdff..2cb96ca9c 100644
--- a/source/Player.cpp
+++ b/source/Player.cpp
@@ -853,7 +853,7 @@ bool cPlayer::MoveToWorld( const char* a_WorldName )
/* Remove all links to the old world */
m_World->RemovePlayer( this );
m_ClientHandle->RemoveFromAllChunks();
- m_World->RemoveEntityFromChunk(this, GetChunkX(), GetChunkZ());
+ m_World->RemoveEntity(this);
/* Add player to all the necessary parts of the new world */
SetWorld( World );