mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-06-03 03:23:33 +02:00
Replace 2 remaining TinyXml LoadFile()s by FILESYSTEM_loadTiXmlDocument
This commit is contained in:
parent
0804755bf0
commit
e709cf2036
|
@ -348,8 +348,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 = "";
|
||||
|
@ -5315,8 +5315,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 New Issue
Block a user