mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 16:15:43 +00:00
Use expression supporting data strings for menus
This commit is contained in:
parent
847e4d568c
commit
3589035ed6
@ -327,7 +327,7 @@ namespace IW4
|
||||
else if (expressionValue->m_type == SimpleExpressionValue::Type::STRING)
|
||||
{
|
||||
entry.data.operand.dataType = VAL_STRING;
|
||||
entry.data.operand.internals.stringVal.string = m_memory->Dup(expressionValue->m_string_value->c_str());
|
||||
entry.data.operand.internals.stringVal.string = m_conversion_zone_state->AddString(*expressionValue->m_string_value);
|
||||
}
|
||||
|
||||
entries.emplace_back(entry);
|
||||
|
Loading…
x
Reference in New Issue
Block a user