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());
|
||||
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 = "";
|
||||
|
||||
Reference in New Issue
Block a user