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:
parent
7acf07a4b4
commit
068add0eef
@ -46,9 +46,6 @@ ContentLoader::ContentLoader()
|
||||
{
|
||||
varXAsset = nullptr;
|
||||
varScriptStringList = nullptr;
|
||||
|
||||
// Script String 0 is always empty string
|
||||
m_script_strings.emplace_back("");
|
||||
}
|
||||
|
||||
void ContentLoader::LoadScriptStringList(const bool atStreamStart)
|
||||
|
@ -59,9 +59,6 @@ ContentLoader::ContentLoader()
|
||||
{
|
||||
varXAsset = nullptr;
|
||||
varScriptStringList = nullptr;
|
||||
|
||||
// Script String 0 is always empty string
|
||||
m_script_strings.emplace_back("");
|
||||
}
|
||||
|
||||
void ContentLoader::LoadScriptStringList(const bool atStreamStart)
|
||||
|
Loading…
x
Reference in New Issue
Block a user