1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 10:09:43 +01:00

Revert "Fix loading levels saved with 2.2 or earlier"

This reverts commit c2c0644453.

The correct solution for this wasn't to set the whitespace mode to
COLLAPSE_WHITESPACE.
This commit is contained in:
Misa 2020-06-16 15:45:01 -07:00 committed by Ethan Lee
parent 9a8dc4b6ff
commit bc9f21d7f8

View file

@ -1659,7 +1659,7 @@ bool editorclass::load(std::string& _path)
printf("Custom asset directory does not exist\n"); printf("Custom asset directory does not exist\n");
} }
tinyxml2::XMLDocument doc(true, tinyxml2::COLLAPSE_WHITESPACE); tinyxml2::XMLDocument doc;
if (!FILESYSTEM_loadTiXml2Document(_path.c_str(), doc)) if (!FILESYSTEM_loadTiXml2Document(_path.c_str(), doc))
{ {
printf("No level %s to load :(\n", _path.c_str()); printf("No level %s to load :(\n", _path.c_str());