1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 17:49:43 +01:00

Replace 2 remaining TinyXml LoadFile()s by FILESYSTEM_loadTiXmlDocument

This commit is contained in:
Dav999-v 2020-01-12 15:51:25 +01:00 committed by Ethan Lee
parent b884b7e4e9
commit facc34d86c

View file

@ -331,8 +331,8 @@ Game::Game(void):
}
TiXmlDocument docTele((saveFilePath+"tsave.vvv").c_str());
if (!docTele.LoadFile())
TiXmlDocument docTele;
if (!FILESYSTEM_loadTiXmlDocument("saves/tsave.vvv", &docTele))
{
telecookieexists = false;
telesummary = "";
@ -5298,8 +5298,8 @@ void Game::loadsummary( mapclass& map, UtilityClass& help )
// quick_crewstats = summary_crewstats.slice();
//}
TiXmlDocument docTele((saveFilePath+"tsave.vvv").c_str());
if (!docTele.LoadFile())
TiXmlDocument docTele;
if (!FILESYSTEM_loadTiXmlDocument("saves/tsave.vvv", &docTele))
{
telecookieexists = false;
telesummary = "";