Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.37 KB | None | 0 0
  1. MapChunk *chunk = new MapChunk();
  2.    
  3.     wstring fileName = GetChunkFileName(x, z);
  4.     //DBG(L"Loading chunk %s...\n", fileName.c_str());
  5.    
  6.     if (m_touchedNonExistant.find(MapID(x,z)) != m_touchedNonExistant.end())
  7.         return false;
  8.  
  9.     if (!chunk->wrapper.LoadFromFile(fileName))
  10.     {
  11.         m_touchedNonExistant.insert(MapID(x,z));
  12.         CRITERR(L"Chunk load failed\n");
  13.         return false;
  14.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement