Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MapChunk *chunk = new MapChunk();
- wstring fileName = GetChunkFileName(x, z);
- //DBG(L"Loading chunk %s...\n", fileName.c_str());
- if (m_touchedNonExistant.find(MapID(x,z)) != m_touchedNonExistant.end())
- return false;
- if (!chunk->wrapper.LoadFromFile(fileName))
- {
- m_touchedNonExistant.insert(MapID(x,z));
- CRITERR(L"Chunk load failed\n");
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement