projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf4045f
)
Use skin font for usernames (fixes #2363)
2367/head
author
BlockMen
<nmuelll@web.de>
Fri, 20 Feb 2015 22:10:23 +0000
(23:10 +0100)
committer
BlockMen
<nmuelll@web.de>
Sat, 21 Feb 2015 12:31:42 +0000
(13:31 +0100)
src/content_cao.cpp
patch
|
blob
|
history
diff --git
a/src/content_cao.cpp
b/src/content_cao.cpp
index 4994c8b201ab6d66b102f02b4ce1ed59ca8aaf94..ddfa3b0320daf25525520543baff2cc001191718 100644
(file)
--- a/
src/content_cao.cpp
+++ b/
src/content_cao.cpp
@@
-962,7
+962,7
@@
void GenericCAO::addToScene(scene::ISceneManager *smgr, ITextureSource *tsrc,
// Add a text node for showing the name
gui::IGUIEnvironment* gui = irr->getGUIEnvironment();
std::wstring wname = narrow_to_wide(m_name);
- m_textnode = smgr->addTextSceneNode(gui->get
BuiltIn
Font(),
+ m_textnode = smgr->addTextSceneNode(gui->get
Skin()->get
Font(),
wname.c_str(), video::SColor(255,255,255,255), node);
m_textnode->grab();
m_textnode->setPosition(v3f(0, BS*1.1, 0));