Prevent player position from updating when flying

Only chunk is updated instead to maintain visibility
This commit is contained in:
Gent
2020-09-24 18:43:58 -04:00
parent c33f218e56
commit db33ca2bbb
3 changed files with 9 additions and 4 deletions

View File

@@ -32,6 +32,7 @@ namespace PlayerManager {
void updatePlayerPosition(CNSocket* sock, int X, int Y, int Z);
void updatePlayerPosition(CNSocket* sock, int X, int Y, int Z, int angle);
void updatePlayerChunk(CNSocket* sock, int X, int Y);
void sendToViewable(CNSocket* sock, void* buf, uint32_t type, size_t size);