GDExtension: Convert validated_call() to ptrcall() (rather than call())
This commit is contained in:
parent
bfd78bb917
commit
55596eaac6
2 changed files with 8 additions and 14 deletions
|
|
@ -418,7 +418,7 @@ public:
|
|||
case Variant::PACKED_COLOR_ARRAY:
|
||||
return get_color_array(v);
|
||||
case Variant::OBJECT:
|
||||
return v->_get_obj().obj;
|
||||
return get_object(v);
|
||||
case Variant::VARIANT_MAX:
|
||||
ERR_FAIL_V(nullptr);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue