temp fix and small refactor

This commit is contained in:
2020-09-17 21:41:09 -05:00
parent 22e3e9e4de
commit 31ef03610d
3 changed files with 9 additions and 11 deletions

View File

@@ -43,8 +43,6 @@ void ChunkManager::addPlayer(int posX, int posY, CNSocket* sock) {
Chunk* chunk = chunks[pos];
chunk->players.insert(sock);
// TODO: update view for all players in surrounding chunks
}
std::pair<int, int> ChunkManager::grabChunk(int posX, int posY) {