You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Some code changed with Clang-Tidy
This commit is contained in:
@@ -69,7 +69,7 @@ Variant GDScriptNativeClass::_new() {
|
||||
Object *o = instance();
|
||||
if (!o) {
|
||||
ERR_EXPLAIN("Class type: '" + String(name) + "' is not instantiable.");
|
||||
ERR_FAIL_COND_V(!o, Variant());
|
||||
ERR_FAIL_V(Variant());
|
||||
}
|
||||
|
||||
Reference *ref = Object::cast_to<Reference>(o);
|
||||
|
||||
Reference in New Issue
Block a user