mapio: don't add saved with line in description

This commit is contained in:
Ahmed Samy 2013-12-07 02:52:51 +02:00
parent 066638e7c0
commit 2498129ff3
1 changed files with 1 additions and 5 deletions

View File

@ -285,15 +285,11 @@ void Map::saveOtbm(const std::string& fileName)
root->startNode(OTBM_MAP_DATA); root->startNode(OTBM_MAP_DATA);
{ {
root->addU8(OTBM_ATTR_DESCRIPTION); root->addU8(OTBM_ATTR_DESCRIPTION);
root->addString(stdext::format("%s\nSaved with %s v%s", root->addString(m_attribs.get<std::string>(OTBM_ATTR_DESCRIPTION));
m_attribs.get<std::string>(OTBM_ATTR_DESCRIPTION),
g_app.getName(), g_app.getVersion()));
// spawn file.
root->addU8(OTBM_ATTR_SPAWN_FILE); root->addU8(OTBM_ATTR_SPAWN_FILE);
root->addString(spawnFile); root->addString(spawnFile);
// house file.
root->addU8(OTBM_ATTR_HOUSE_FILE); root->addU8(OTBM_ATTR_HOUSE_FILE);
root->addString(houseFile); root->addString(houseFile);