From: Perttu Ahola Date: Wed, 4 Apr 2012 15:10:10 +0000 (+0300) Subject: Fix visual='cube' size X-Git-Tag: 0.4.dev-20120408~33 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=66e1cb324cda4178ca6cd09f235765cd1d92d13f;p=oweals%2Fminetest.git Fix visual='cube' size --- diff --git a/src/content_cao.cpp b/src/content_cao.cpp index f211ff8b9..83a2bcfd1 100644 --- a/src/content_cao.cpp +++ b/src/content_cao.cpp @@ -781,9 +781,9 @@ public: 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"){