mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-01-13 12:11:50 +00:00
fix: use correct written variable for WriteArray zone code methods
This commit is contained in:
@@ -1598,7 +1598,7 @@ namespace
|
|||||||
m_intendation++;
|
m_intendation++;
|
||||||
|
|
||||||
LINEF("const auto arrayFill = m_stream->WriteWithFill({0} * count);", def->GetSize())
|
LINEF("const auto arrayFill = m_stream->WriteWithFill({0} * count);", def->GetSize())
|
||||||
LINEF("{0} = arrayFill.Offset();", MakeTypeWrittenVarName(info->m_definition))
|
LINEF("{0} = arrayFill.Offset();", MakeTypeWrittenVarName(def))
|
||||||
LINEF("auto* arrayStart = {0};", MakeTypeVarName(def))
|
LINEF("auto* arrayStart = {0};", MakeTypeVarName(def))
|
||||||
LINEF("auto* var = {0};", MakeTypeVarName(def))
|
LINEF("auto* var = {0};", MakeTypeVarName(def))
|
||||||
LINE("for (size_t index = 0; index < count; index++)")
|
LINE("for (size_t index = 0; index < count; index++)")
|
||||||
|
|||||||
Reference in New Issue
Block a user