From 13e7589fecfc8b6c247839ddaac66e9d045e513c Mon Sep 17 00:00:00 2001 From: RealBadAngel Date: Mon, 18 Jan 2016 06:08:54 +0100 Subject: [PATCH] Fix wield item glitch --- src/camera.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.25.1