]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/content_cao.cpp
Translated using Weblate (Korean)
[dragonfireclient.git] / src / content_cao.cpp
index d38cb892a3bc1966de794af59fd1f2ef841b4b73..a16bd4efa5fd55c69ccc762f49fcaf7f342f1362 100644 (file)
@@ -970,7 +970,7 @@ void GenericCAO::addToScene(scene::ISceneManager *smgr, ITextureSource *tsrc,
        if (node && m_is_player && !m_is_local_player) {
                // Add a text node for showing the name
                gui::IGUIEnvironment* gui = irr->getGUIEnvironment();
-               std::wstring wname = narrow_to_wide(m_name);
+               std::wstring wname = utf8_to_wide(m_name);
                m_textnode = smgr->addTextSceneNode(gui->getSkin()->getFont(),
                                wname.c_str(), m_nametag_color, node);
                m_textnode->grab();