From 66e1cb324cda4178ca6cd09f235765cd1d92d13f Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Wed, 4 Apr 2012 18:10:10 +0300 Subject: [PATCH] Fix visual='cube' size --- src/content_cao.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/content_cao.cpp b/src/content_cao.cpp index f211ff8b..83a2bcfd 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"){ -- 2.30.2