mirror of
https://github.com/godotengine/godot
synced 2024-09-05 22:11:50 +00:00
Fix type argument in is_builtin which was treated as an address
This commit is contained in:
parent
43f89e7c2c
commit
9936abb3d5
|
@ -391,7 +391,7 @@ void GDScriptByteCodeGenerator::write_type_test(const Address &p_target, const A
|
|||
}
|
||||
|
||||
void GDScriptByteCodeGenerator::write_type_test_builtin(const Address &p_target, const Address &p_source, Variant::Type p_type) {
|
||||
append(GDScriptFunction::OPCODE_IS_BUILTIN, 3);
|
||||
append(GDScriptFunction::OPCODE_IS_BUILTIN, 2);
|
||||
append(p_source);
|
||||
append(p_target);
|
||||
append(p_type);
|
||||
|
|
Loading…
Reference in a new issue