Fix wield item glitch
authorRealBadAngel <maciej.kasatkin@o2.pl>
Mon, 18 Jan 2016 05:08:54 +0000 (06:08 +0100)
committerparamat <mat.gregory@virginmedia.com>
Mon, 18 Jan 2016 17:20:53 +0000 (17:20 +0000)
src/camera.cpp

index 0b3413591d430eddc724a28bcaea1605d93829cd..94bbe9880386f9c16fc42d4ec85e371abc1d7aba 100644 (file)
@@ -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)
        {