1
0

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:
Tiger Wang
2021-06-28 23:40:28 +01:00
parent bab5794f76
commit 06a2b1211b
3 changed files with 57 additions and 54 deletions

View File

@@ -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();
}