diff options
Diffstat (limited to 'src/core/NodePath.cpp')
-rw-r--r-- | src/core/NodePath.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/NodePath.cpp b/src/core/NodePath.cpp index e5e784b..08ec27a 100644 --- a/src/core/NodePath.cpp +++ b/src/core/NodePath.cpp @@ -17,7 +17,7 @@ NodePath::NodePath(const NodePath &other) { String from = other; godot_node_path_new(&_node_path, (godot_string *) &from); - godot_node_path_copy(&_node_path, &other._node_path); + godot_node_path_operator_equal(&_node_path, &other._node_path); } NodePath::NodePath(const String &from) @@ -79,7 +79,7 @@ NodePath::operator String() const void NodePath::operator =(const NodePath& other) { - godot_node_path_copy(&_node_path, &other._node_path); + godot_node_path_operator_equal(&_node_path, &other._node_path); } NodePath::~NodePath() |