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:
parent
b884b7e4e9
commit
facc34d86c
1 changed files with 4 additions and 4 deletions
|
@ -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 = "";
|
||||||
|
|
Loading…
Reference in a new issue