Invalidate m_LastStreamedChunk when player position doesn't match
So teleporting to and back doesn't cause chunk sending to stop. * Fixes #4531
This commit is contained in:
@@ -3120,9 +3120,6 @@ void cPlayer::OnRemoveFromWorld(cWorld & a_World)
|
||||
|
||||
// Clear sent chunk lists from the clienthandle:
|
||||
m_ClientHandle->RemoveFromWorld();
|
||||
|
||||
// The clienthandle caches the coords of the chunk we're standing at. Invalidate this.
|
||||
m_ClientHandle->InvalidateCachedSentChunk();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user