aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-04-04 18:10:10 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-04-04 18:10:10 +0300
commit66e1cb324cda4178ca6cd09f235765cd1d92d13f (patch)
tree45e956d2b180d02f93ba13cc23886bd5bbcdc701 /src
parenta869d2345161e30163f8007b6b833bceffd98ebb (diff)
downloadminetest-66e1cb324cda4178ca6cd09f235765cd1d92d13f.tar.gz
minetest-66e1cb324cda4178ca6cd09f235765cd1d92d13f.tar.bz2
minetest-66e1cb324cda4178ca6cd09f235765cd1d92d13f.zip
Fix visual='cube' size
Diffstat (limited to 'src')
-rw-r--r--src/content_cao.cpp6
1 files changed, 3 insertions, 3 deletions
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"){