mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Replace 2 remaining TinyXml LoadFile()s by FILESYSTEM_loadTiXmlDocument
This commit is contained in:
@@ -331,8 +331,8 @@ Game::Game(void):
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
TiXmlDocument docTele((saveFilePath+"tsave.vvv").c_str());
|
TiXmlDocument docTele;
|
||||||
if (!docTele.LoadFile())
|
if (!FILESYSTEM_loadTiXmlDocument("saves/tsave.vvv", &docTele))
|
||||||
{
|
{
|
||||||
telecookieexists = false;
|
telecookieexists = false;
|
||||||
telesummary = "";
|
telesummary = "";
|
||||||
@@ -5298,8 +5298,8 @@ void Game::loadsummary( mapclass& map, UtilityClass& help )
|
|||||||
// quick_crewstats = summary_crewstats.slice();
|
// quick_crewstats = summary_crewstats.slice();
|
||||||
//}
|
//}
|
||||||
|
|
||||||
TiXmlDocument docTele((saveFilePath+"tsave.vvv").c_str());
|
TiXmlDocument docTele;
|
||||||
if (!docTele.LoadFile())
|
if (!FILESYSTEM_loadTiXmlDocument("saves/tsave.vvv", &docTele))
|
||||||
{
|
{
|
||||||
telecookieexists = false;
|
telecookieexists = false;
|
||||||
telesummary = "";
|
telesummary = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user