CHUNKPOS macro -> ChunkPos typedef

This commit is contained in:
Gent S
2020-11-16 09:59:53 -05:00
parent b22ba781c8
commit 8ad3f3aabd
7 changed files with 36 additions and 36 deletions

View File

@@ -229,7 +229,7 @@ void PlayerManager::updatePlayerPosition(CNSocket* sock, int X, int Y, int Z) {
void PlayerManager::updatePlayerChunk(CNSocket* sock, int X, int Y, uint64_t instanceID) {
PlayerView& view = players[sock];
CHUNKPOS newPos = ChunkManager::grabChunk(X, Y, view.plr->instanceID);
ChunkPos newPos = ChunkManager::grabChunk(X, Y, view.plr->instanceID);
// nothing to be done
if (newPos == view.chunkPos)