From 4728f64e3a88a82570562a37a9b5dc44f096f326 Mon Sep 17 00:00:00 2001 From: Misa Date: Sun, 7 Feb 2021 13:18:39 -0800 Subject: [PATCH] Remove commented-out "version 1" code from editorclass::load() Search results for terms in this code, such as the split() function, become annoying false-positives. So it's better to just remove it entirely. --- desktop_version/src/editor.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/desktop_version/src/editor.cpp b/desktop_version/src/editor.cpp index a7b45764..e6958683 100644 --- a/desktop_version/src/editor.cpp +++ b/desktop_version/src/editor.cpp @@ -1767,23 +1767,6 @@ bool editorclass::load(std::string& _path) } } - /*else if(version==1){ - if (pKey == "contents") - { - std::string TextString = (pText); - if(TextString.length()) - { - std::vector values = split(TextString,','); - contents.clear(); - for(int i = 0; i < values.size(); i++) - { - contents.push_back(help.Int(values[i].c_str())); - } - } - } - //} - */ - if (pKey == "edEntities") {