You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Replace NULL with nullptr
This commit is contained in:
@@ -156,7 +156,7 @@ bool PluginScriptInstance::init(PluginScript *p_script, Object *p_owner) {
|
||||
_script = Ref<PluginScript>(p_script);
|
||||
_desc = &p_script->_desc->instance_desc;
|
||||
_data = _desc->init(p_script->_data, (godot_object *)p_owner);
|
||||
ERR_FAIL_COND_V(_data == NULL, false);
|
||||
ERR_FAIL_COND_V(_data == nullptr, false);
|
||||
p_owner->set_script_instance(this);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user