Skip to content
Snippets Groups Projects
Commit 66e1cb32 authored by Perttu Ahola's avatar Perttu Ahola
Browse files

Fix visual='cube' size

parent a869d234
No related branches found
No related tags found
No related merge requests found
......@@ -781,9 +781,9 @@ class GenericCAO : public ClientActiveObject
m_meshnode = smgr->addMeshSceneNode(mesh, NULL);
mesh->drop();
m_meshnode->setScale(v3f(m_prop.visual_size.X/2,
m_prop.visual_size.Y/2,
m_prop.visual_size.X/2));
m_meshnode->setScale(v3f(m_prop.visual_size.X,
m_prop.visual_size.Y,
m_prop.visual_size.X));
u8 li = m_last_light;
setMeshColor(m_meshnode->getMesh(), video::SColor(255,li,li,li));
} else if(m_prop.visual == "wielditem"){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment