2-3 Corrections

This commit is contained in:
MarcEricMartel
2021-12-06 21:41:50 -05:00
parent 6e562f51c7
commit 3a363d06a3
3 changed files with 10 additions and 16 deletions

View File

@@ -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();
}