diff --git a/desktop_version/src/Game.cpp b/desktop_version/src/Game.cpp index cc17ab66..6eee77d8 100644 --- a/desktop_version/src/Game.cpp +++ b/desktop_version/src/Game.cpp @@ -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 = "";