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

@@ -185,7 +185,7 @@ void NPCManager::updateNPCPosition(int32_t id, int X, int Y, int Z) {
npc->appearanceData.iY = Y;
npc->appearanceData.iZ = Z;
CHUNKPOS newPos = ChunkManager::grabChunk(X, Y, npc->instanceID);
ChunkPos newPos = ChunkManager::grabChunk(X, Y, npc->instanceID);
// nothing to be done (but we should also update currentChunks to add/remove stale chunks)
if (newPos == npc->chunkPos) {