diff --git a/lib/common b/lib/common index 4393798..c326701 160000 --- a/lib/common +++ b/lib/common @@ -1 +1 @@ -Subproject commit 4393798b9b783dca7d670b583bb2c02463797f0d +Subproject commit c326701bd8dc2682f0abd1aed40ce6b987b816ec diff --git a/src/ui/ScriptFunctionsSimpleFrame.cpp b/src/ui/ScriptFunctionsSimpleFrame.cpp index 8edeaa4..cf2e6c4 100644 --- a/src/ui/ScriptFunctionsSimpleFrame.cpp +++ b/src/ui/ScriptFunctionsSimpleFrame.cpp @@ -83,9 +83,7 @@ int32_t Script_CreateFrame(lua_State* L) { } // Build an XMLNode simulating the arguments to CreateFrame() - XMLNode frameNode; - - frameNode.Init(nullptr, v21); + XMLNode frameNode(nullptr, v21); if (v3) { frameNode.SetAttribute("name", v3);