fix compiler animtree bug
This commit is contained in:
@ -2001,7 +2001,7 @@ void compiler::emit_expr_animation(const ast::expr_animation::ptr& expr)
|
||||
|
||||
if (tree.loaded)
|
||||
{
|
||||
emit_opcode(opcode::OP_GetAnimation, { "''", expr->value });
|
||||
emit_opcode(opcode::OP_GetAnimation, { "", expr->value });
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -2021,7 +2021,7 @@ void compiler::emit_expr_animtree(const ast::expr_animtree::ptr& expr)
|
||||
|
||||
if (tree.loaded)
|
||||
{
|
||||
emit_opcode(opcode::OP_GetAnimTree, "''");
|
||||
emit_opcode(opcode::OP_GetAnimTree, "");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user