2-3 Corrections
This commit is contained in:
@@ -22,7 +22,7 @@ Chunk::~Chunk() {
|
||||
std::ostringstream pos;
|
||||
pos << CHUNK_PATH << m_posX << '_' << m_posY << ".chunk";
|
||||
|
||||
std::ofstream output(pos.str().c_str(), std::fstream::binary);
|
||||
std::ofstream output(pos.str(), std::fstream::binary);
|
||||
output.write(data, sizeof(data));
|
||||
output.close();
|
||||
}
|
||||
|
Reference in New Issue
Block a user