mirror of
https://github.com/godotengine/godot.git
synced 2025-10-27 19:54:27 +00:00
Replace NULL with nullptr
This commit is contained in:
parent
5f11e15571
commit
95a1400a2a
755 changed files with 5742 additions and 5742 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue