Add support for new maps, add the dump command for @Dasfonia

This commit is contained in:
momo5502
2016-10-01 15:39:21 +02:00
parent 8e1e179d84
commit ac258b5ad9
5 changed files with 29 additions and 87 deletions

View File

@ -11,6 +11,8 @@ namespace Utils
void WriteFile(std::string file, std::string data)
{
CreateDirectory(file.substr(0, file.find_last_of("/\\")));
std::ofstream stream(file, std::ios::binary);
if (stream.is_open())