mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 09:39: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());
|
||||
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 = "";
|
||||
|
|
Loading…
Reference in a new issue