aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRealBadAngel <maciej.kasatkin@o2.pl>2016-01-18 06:08:54 +0100
committerparamat <mat.gregory@virginmedia.com>2016-01-18 17:20:53 +0000
commit13e7589fecfc8b6c247839ddaac66e9d045e513c (patch)
treeba422fdc4d7fdbc431001031dea6ffa6210907c5
parent22bc66d3a7b96f0742669a988b45d07d58e32928 (diff)
downloadminetest-13e7589fecfc8b6c247839ddaac66e9d045e513c.tar.gz
minetest-13e7589fecfc8b6c247839ddaac66e9d045e513c.tar.bz2
minetest-13e7589fecfc8b6c247839ddaac66e9d045e513c.zip
Fix wield item glitch
-rw-r--r--src/camera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/camera.cpp b/src/camera.cpp
index 0b3413591..94bbe9880 100644
--- a/src/camera.cpp
+++ b/src/camera.cpp
@@ -646,7 +646,7 @@ void Camera::drawWieldedTool(irr::core::matrix4* translation)
scene::ICameraSceneNode* cam = m_wieldmgr->getActiveCamera();
cam->setAspectRatio(m_cameranode->getAspectRatio());
cam->setFOV(72.0*M_PI/180.0);
- cam->setNearValue(0.1);
+ cam->setNearValue(10);
cam->setFarValue(1000);
if (translation != NULL)
{