summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map.h b/src/map.h index fe3270c..4bb9910 100644 --- a/src/map.h +++ b/src/map.h
@@ -177,12 +177,12 @@ public:
177 } 177 }
178 178
179 // Destroy any completely unlit chunks. 179 // Destroy any completely unlit chunks.
180 for (size_t chunkIndex : touchedChunks) { 180 /*for (size_t chunkIndex : touchedChunks) {
181 if (chunks_[chunkIndex].litTiles == 0) { 181 if (chunks_[chunkIndex].litTiles == 0) {
182 chunkByPos_[chunks_[chunkIndex].x].erase(chunks_[chunkIndex].y); 182 chunkByPos_[chunks_[chunkIndex].x].erase(chunks_[chunkIndex].y);
183 freeList_.push_back(chunkIndex); 183 freeList_.push_back(chunkIndex);
184 } 184 }
185 } 185 }*/
186 } 186 }
187 187
188 leftmostChunk_ = newLeftChunk; 188 leftmostChunk_ = newLeftChunk;