1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Fix header.mapLevels saving

This commit is contained in:
AlexVinS 2015-08-14 00:42:01 +03:00 committed by AlexVinS
parent 0cc7213a27
commit f6e2cd16ed
2 changed files with 5 additions and 5 deletions

View File

@ -267,7 +267,7 @@ void CMapSaverJson::saveHeader()
header["versionMinor"].Float() = VERSION_MINOR;
//todo: multilevel map save support
JsonNode levels = header["mapLevels"];
JsonNode & levels = header["mapLevels"];
levels["surface"]["height"].Float() = map->height;
levels["surface"]["width"].Float() = map->width;
levels["surface"]["index"].Float() = 0;

View File

@ -60,22 +60,22 @@ void MapComparer::compareHeader()
VCMI_REQUIRE_FIELD_EQUAL(width);
VCMI_REQUIRE_FIELD_EQUAL(twoLevel);
BOOST_FAIL("Not implemented");
BOOST_ERROR("Not implemented");
}
void MapComparer::compareOptions()
{
BOOST_FAIL("Not implemented");
BOOST_ERROR("Not implemented");
}
void MapComparer::compareObjects()
{
BOOST_FAIL("Not implemented");
BOOST_ERROR("Not implemented");
}
void MapComparer::compareTerrain()
{
BOOST_FAIL("Not implemented");
BOOST_ERROR("Not implemented");
}
void MapComparer::compare()