2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-06-09 05:55:40 +00:00

Fix script string indices being off by one due to inserting empty script string that is not necessarly in the zone

This commit is contained in:
Jan 2020-10-23 12:51:18 +02:00
parent 7acf07a4b4
commit 068add0eef
2 changed files with 0 additions and 6 deletions

View File

@ -46,9 +46,6 @@ ContentLoader::ContentLoader()
{ {
varXAsset = nullptr; varXAsset = nullptr;
varScriptStringList = nullptr; varScriptStringList = nullptr;
// Script String 0 is always empty string
m_script_strings.emplace_back("");
} }
void ContentLoader::LoadScriptStringList(const bool atStreamStart) void ContentLoader::LoadScriptStringList(const bool atStreamStart)

View File

@ -59,9 +59,6 @@ ContentLoader::ContentLoader()
{ {
varXAsset = nullptr; varXAsset = nullptr;
varScriptStringList = nullptr; varScriptStringList = nullptr;
// Script String 0 is always empty string
m_script_strings.emplace_back("");
} }
void ContentLoader::LoadScriptStringList(const bool atStreamStart) void ContentLoader::LoadScriptStringList(const bool atStreamStart)