mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Moved json files to new directory, split on per-class basis
This commit is contained in:
@ -13,7 +13,7 @@
|
||||
|
||||
#include "../filesystem/CInputStream.h"
|
||||
#include "../filesystem/COutputStream.h"
|
||||
#include "../JsonDetail.h"
|
||||
#include "../json/JsonWriter.h"
|
||||
#include "CMap.h"
|
||||
#include "MapFormat.h"
|
||||
#include "../ArtifactUtils.h"
|
||||
@ -1201,7 +1201,7 @@ CMapSaverJson::~CMapSaverJson() = default;
|
||||
void CMapSaverJson::addToArchive(const JsonNode & data, const std::string & filename)
|
||||
{
|
||||
std::ostringstream out;
|
||||
JsonWriter writer(out);
|
||||
JsonWriter writer(out, false);
|
||||
writer.writeNode(data);
|
||||
out.flush();
|
||||
|
||||
|
Reference in New Issue
Block a user